Osclass forums

Support forums => Themes => Modern => Topic started by: ssswisss on October 21, 2013, 12:58:26 pm

Title: How can i show??
Post by: ssswisss on October 21, 2013, 12:58:26 pm
Hi
How can i Show all regions on the right side? (like a Repurpose template)

thanks
Title: Re: How can i show??
Post by: teseo 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