Advertisement:

Author Topic: osc_categories_select() que recuerde la página activa o selección [SOLUCIONADO]  (Read 4213 times)

snarka

  • Newbie
  • *
  • Posts: 3
Re: osc_categories_select() que recuerde la página activa o selección
« Reply #15 on: June 15, 2014, 11:37:56 pm »
Prueba con esto a ver:

Code: [Select]
$category = __get("category");
     if(!isset($category['pk_i_id']) ) {
         $category['pk_i_id'] = null;
     }
<?php osc_categories_select('sCategory'$category['pk_i_id'], __('Select a category''bender')) ; ?>;

Saludos
Hi! How to change the code for cityName?
Code: [Select]
             <?php $aCities City::newInstance()->listAll(); ?>
                                    <?php if(count($aCities) > ) { ?>
                                    <select name="sCity" id="sCity">
                                        <?php foreach($aCities as $city) { ?>
                                        <option value="<?php echo $city['s_name'] ; ?>"><?php echo $city['s_name'] ; ?></option>
                                        <?php ?>
                                    </select>
                                    <?php ?>

teseo

  • Hero Member
  • *****
  • Posts: 6169
Please open a new thread in the english sections, and try to explain what you want exactly and where you want it applied. ???

Regards