Advertisement:

Author Topic: How can i show??  (Read 1300 times)

ssswisss

  • Newbie
  • *
  • Posts: 5
How can i show??
« on: October 21, 2013, 12:58:26 pm »
Hi
How can i Show all regions on the right side? (like a Repurpose template)

thanks

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: How can i show??
« Reply #1 on: October 21, 2013, 01:15:52 pm »
Hi,

This is how Repurpose does that:

Locate in main.php a line similar to:

Code: [Select]
<?php if(osc_count_list_regions() > ) { ?>
and replace it with:

Code: [Select]
<?php View::newInstance()->_exportVariableToView('list_regions'Search::newInstance()->listRegions('%%%%''>=''region_name ASC') ) ;
            if(
osc_count_list_regions() > ) { ?>

Regards