Advertisement:

Author Topic: bcute theme- location issue  (Read 1128 times)

adsvads

  • Jr. Member
  • **
  • Posts: 50
bcute theme- location issue
« on: June 24, 2012, 12:00:57 pm »
Hello folks,
I have an issue regarding the bcute theme. The location tab displayed on the right hand side,I wish to show countries there,but however I am finding an issue that when I have replaced the regions with countries I get the names of the countries(due to problem I have reverted them back to regions) but the link to which they are getting redirected (for countries)don't work . So, please help me in solving the issue.

Thanks,
onkar

RajaSekar

  • Hero Member
  • *****
  • Posts: 791
  • ராஜசேகர்
Re: bcute theme- location issue
« Reply #1 on: June 27, 2012, 08:52:53 pm »
Code: [Select]

<?php $aCountry Country :: newInstance()->listAll();
 
$countryCount count($aCountry); ?>

<?php if ($countryCount 0) {?>
<ul>
<?php foreach ($aCountry as $country) {?>
<li><a href="<?php echo osc_search_url().'&sCountry='.$country['pk_c_code']; ?>"><?php echo $country['s_name'] ; ?></a>
</li>
<?php }?>
</ul>
<?php }?>