Advertisement:

Author Topic: Select Ads duration for OsclassWizards  (Read 123 times)

Dimal

  • Full Member
  • ***
  • Posts: 121
Select Ads duration for OsclassWizards
« on: August 23, 2019, 05:37:44 pm »
Hello.

I have Bender working with ads duration (from a post i found here). I let users select manually the ads duration. It seems this is already in Osclass and Bender works great in both Post and Edit.

But when i put the same code in OsclassWizards, Post works Great but EDIT item doesn't. Dropdown doesn't show limits correctly (shows No Expiration and 1 Day).

If in Edit you Reselect Category and SubCattegory it shows the options right in drop-down.

Code: [Select]
<div class="control-group">
            <label class="control-label" for="description[<?php echo osc_current_user_locale(); ?>]"><?php _e('Expiration'OSCLASSWIZARDS_THEME_FOLDER); ?></label>
                <div class="controls">
                    <?php ItemForm::expiration_select(); ?>
                </div>
        </div>


Any ideas on that ?

Thanks
« Last Edit: August 23, 2019, 06:12:17 pm by Dimal »