Important security update, please update to Osclass 3.7.4
At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.
Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.
I accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
<div class="row"> <label for="catId"><?php _e('Category', 'modern'); ?> *</label> <?php ItemForm::category_multiple_selects(null, null, __('Select a category', 'modern')); ?></div>
<!-- <label class="control-label" for="select_1"> <?php _e('Category', YOUR THEME NAME); ?> </label> <div class="controls"> <?php if ( osc_count_categories() ) { ?> <?php if(osc_get_preference('category_multiple_selects', 'YOUR THEME NAME') == '1'){ ?> <div class="cat_multiselect"><?php ItemForm::category_multiple_selects(null, null, null, osc_esc_html(__('Select a category', YOUR THEME NAME))); ?></div> <?php }else{ ?> <?php ItemForm::category_select(null, null, osc_esc_html(__('Select a category', YOUR THEME NAME))); ?> <?php } ?> <?php } ?> </div> </div>-->
<div class="box description"><div class="control-group"> <label class="control-label" for="select_1"><?php _e('Category', 'YOUR THEME NAME'); ?></label> <div class="controls category"><div class="col-md-12"> <?php ItemForm::category_multiple_selects(null, null, __('Select a category', 'YOUR THEME NAME')); ?> </div></div> </div>
This is the code used in Modern for that purpose:Code: [Select]<div class="row"> <label for="catId"><?php _e('Category', 'modern'); ?> *</label> <?php ItemForm::category_multiple_selects(null, null, __('Select a category', 'modern')); ?></div>
yes i have read, and you are talking about below code :Am I right Mr Aficionado ?Quote from: Aficionado on September 08, 2017, 03:56:27 amThis is the code used in Modern for that purpose:Code: [Select]<div class="row"> <label for="catId"><?php _e('Category', 'modern'); ?> *</label> <?php ItemForm::category_multiple_selects(null, null, __('Select a category', 'modern')); ?></div>but can you check my code, coz its something different. yes most of parts are same. but if its work for you then you will try otherwise its ok.