How to add menu item for pages item

I would like to add a menu item for a pages item I’ve created in Magento. How do I create a menu item that links directly to the pages item I’ve created?

I’m using Magento with the JM Deco template.

5 answers

Profile photo of Michael Perez 0.00 $tone January 4, 2013

How do I create a menu item specifically for the JM Deco template?

I have created a custom page and I tried to add a menu item using the tutorial at…eature=related. But when I follow these instructions, the styling is stripped and modifies the appearance of the theme. If it is possible, I would like to maintain the themes functionality and styling (e.g. rollover effects and block styling).

I tried sending a PM to Saguaros, but never heard back. So maybe someone else from JoomlArt can help me out.


FYI… I’m using Magento

Profile photo of Sherlock 0.00 $tone January 5, 2013

Hi mate,

if you want to create a new menu item for this theme, open the file of app\design\frontend\default\jm_decotemplate\catal ognavigationtop.phtml at the line about number 169 you would see this code

HTML Code:

            <li <?php echo $homecls;?>>
			<a <?php echo $homecls;?> href="<?php echo $this->getUrl('') ?>" title="Home"><span>Home</span></a>

you can add a new menu item by adding a similar code like that right below it, for example adding a new menu item which link to the Customer Service cms page you add this code

HTML Code:

  <li >
			<a  href="<?php echo $this->getUrl('customer-service') ?>" title="Home"><span>Customer service</span></a>

Please login or Register to Submit Answer

Written By