Advertisement:

Author Topic: Why Bender theme don't show countrys in the sidebar???  (Read 1931 times)

Sphinx

  • Newbie
  • *
  • Posts: 35
Why Bender theme don't show countrys in the sidebar???
« on: September 16, 2013, 07:04:17 pm »
Hi everyone!

I wanto to know why Bender theme don't show countrys in the sidebar??? Rigth now only showing cities names. I just having a wrong setting problem or I will need to add some code to the theme for doing this???
Thank's in advance.
http://demaquinasyherramientas.com/shop
« Last Edit: September 16, 2013, 07:06:00 pm by Sphinx »

strata

  • Sr. Member
  • ****
  • Posts: 411
  • Always good, always...
Re: Why Bender theme don't show countrys in the sidebar???
« Reply #1 on: September 16, 2013, 07:46:42 pm »
For default, Bender theme only showing regions with contain ads, take a look at main.php
Code: [Select]
                <?php if(osc_count_list_regions() > ) { ?>
                    <h3><strong><?php _e("Location"'bender') ; ?></strong></h3>
                    <ul>
                    <?php while(osc_has_list_regions() ) { ?>
                        <li><a href="<?php echo osc_list_region_url(); ?>"><?php echo osc_list_region_name() ; ?> <em>(<?php echo osc_list_region_items() ; ?>)</em></a></li>
                    <?php ?>
                    </ul>
                <?php ?>
and if you want to show country, follow step by step at this thread http://forums.osclass.org/tips-and-tricks/(tuturial)show-all-regions-and-cities-in-sidebar/   good luck :)

Sphinx

  • Newbie
  • *
  • Posts: 35
Re: Why Bender theme don't show countrys in the sidebar???
« Reply #2 on: September 18, 2013, 07:05:21 pm »
Thank's Strata, i will reed all link you give me to learn how to do it. Thank's. :)

strata

  • Sr. Member
  • ****
  • Posts: 411
  • Always good, always...
Re: Why Bender theme don't show countrys in the sidebar???
« Reply #3 on: September 19, 2013, 04:10:44 am »
You're welcome  ;D