Add new item to Navigation Menu – JM_Oganis

I am trying to add a link on the top nav menu.

I am adding this to the /public_html/app/design/frontend/default/jm_oganis/template/catalog/navigation/top.phtml but it isn’t working. Any hints ?

<li <?php echo $homecls;?>>

<a <?php echo $homecls;?> href="<http://www.myurl.com>&quot; title="Main Site"><span>Main Site</span></a>

</li>

1 answer

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

Dear Jwkimkc!

Please add this code:

HTML Code:

<li class="level0 parent last" id="">
        	<a href="#" onmouseover="toggleMenu(this,1)" onmouseout="toggleMenu(this,0)" class="" id=""><span>Menu Item's name</span></a>         
            		
    			<ul class="level0 clearfix">
			
					<li class="level1"><a href="#" class=""><span>Sub item 1</span></a></li>
					<li class="level1"><a href="#" class=""><span>Sub item 2</span></a></li>
					<li class="level1"><a href="#" class=""><span>Sub item 3</span></a></li>
					<li class="level1"><a href="#" class=""><span>Sub item 4</span></a></li>
				
				</ul>
		</li>
        </ul>

To about line 177 and 189 of app\design\frontend\default\jm_oganistemplate\cat alognavigationtop.phtml.

Hope this helps and good luck!

PS: I attached here the custom top.phtml file for you to compare.

#1

Please login or Register to Submit Answer

Written By

Comments