Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Home Link in Category List


aftabn10

Recommended Posts

Hi, i have managed to add a horizontal menu for my categories using the following addon for a new site i am working on.

 

http://addons.oscommerce.com/info/8155/v,23

 

What i was looking to do now is to add a home button before the start of the categories but not sure how to add this. Would it be best to edit the header page or can i do this through the bm_categories.php page?

 

Any advice would be appreciated.

 

Thanks

Link to comment
Share on other sites

Hi, I have managed to sort this, the original code I had was the following:

 

<div id="menu">
    <?php
  $bm_categories = new bm_categories();
  echo  $bm_categories->getData();?>
</div>

 

so i added an extra line with the code

 

   <li class="main"><a href="index.php">Home</a></li>

 

and this works!

 

Thanks to everyone for having a look.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...