aftabn10 Posted April 5, 2013 Share Posted April 5, 2013 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 More sharing options...
aftabn10 Posted April 6, 2013 Author Share Posted April 6, 2013 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 More sharing options...
♥mattjt83 Posted April 6, 2013 Share Posted April 6, 2013 @@aftabn10 <li class="main"><a href="<?php echo tep_href_link(FILENAME_DEFAULT);?>">Home</a></li> ...would be better for session related issues. Matt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.