Advertisement:

Author Topic: link of cities  (Read 31475 times)

Pigeon

  • Sr. Member
  • ****
  • Posts: 498
link of cities
« on: April 23, 2016, 07:35:50 am »
Hi,
osclass.3.5.2
theme: modern

when i activate"Permalinks" in admin panel, in search.php page, under pagination, it shows link list of all cities that has ads.
that's why i removed this code in search.php, and solved,
now it does NOT show city list anymore

Code: [Select]
                    <?php $footerLinks osc_search_footer_links(); ?>
                    <ul class="footer-links">
                    <?php foreach($footerLinks as $f) { View::newInstance()->_exportVariableToView('footer_link'$f); ?>
                        <?php if($f['total'] < 3) continue; ?>
                        <li><a href="<?php echo osc_footer_link_url(); ?>"><?php echo osc_footer_link_title(); ?></a></li>
                    <?php ?>
                    </ul>

what is this code for exactly? i'm afraid to get errors

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: link of cities
« Reply #1 on: April 24, 2016, 01:48:03 pm »
Hi,

No errors, that's just an additional feture. If it bothers you, that's the right way to get rid of it.

Regards

Pigeon

  • Sr. Member
  • ****
  • Posts: 498
Re: link of cities
« Reply #2 on: April 25, 2016, 01:47:26 pm »
Hi,

No errors, that's just an additional feture. If it bothers you, that's the right way to get rid of it.

Regards

thank you teseo