change top menu to static only

hello

I posted a question about the jm_lead template on how to make the top navigation static and this is how you answered, which worked great.

Quote Originally Posted by tienhc View Post
Dear all!

i ‘ll give you the simplest way to resolve this issue
Pls open the file: app\design\frontend\default\jm_leadtemplate\page\ html\header.phtml

This is the site I am currently trying to modify. http://theironshop.net

and find code:
HTML Code:

<?php echo $this->getChildHtml(‘topMenu’) ?>

and replace:
HTML Code:

<ul id="nav">
<li ><a href="#">Test</a></li>
<li ><a href="#">Test 2</a></li>
<li ><a href="#">Test 3</a></li>
</ul>

Now, I am trying to do the same to jm_natris, but this does not seem to be working with this code. Will this code not work the same on the jm_natris template ?

Thanks in advance.

Ron

5 answers

Profile photo of thangnn1510 0.00 $tone January 26, 2011
Public

Dear John!

Please change header.phtml in app\design\frontend\default\jm_natristemplate\pag e\html with the instructions again. I have checked and confirm that it will work with the instructions (Please see screenshot) .

If you have any problems, please feel free to contact us.

#1
Profile photo of Janice W Davis 0.00 $tone May 16, 2011
Public

I have to add a couple some items to the menu after the products. There will be 2 or 3 menu items after the main product categories and these items will have submenu items. What is the best way to handle this?

Thanks
Janice

#4
Profile photo of thangnn1510 0.00 $tone May 18, 2011
Public

I have to add a couple some items to the menu after the products. There will be 2 or 3 menu items after the main product categories and these items will have submenu items. What is the best way to handle this?

Thanks
Janice

Please add this code

Code:

<li><a href="your link">Your title</a></li>

to line 182 of top.phtml in app\design\frontend\default\jm_natristemplate\cat alognavigation.

#5

Please login or Register to Submit Answer

Written By

Comments