Edit Menu links

Hi,

Stuck on, how to edit menu link,

Home | 1 | 2 | 3 | Norite’s Color

how do i remove " Norites Color" out of the menu

Thanks.

8 answers

Profile photo of Saguaros 0.00 $tone May 19, 2010
Public

Dear Joy

Your question:

. I need to deactivate the navigation item "Norite’s Colors" in the JM Ores demo shop installed for me by you.

Please resolve this issue as follow:

Please open the file: app\design\frontend\default\jm_noritetemplate\cat alognavigationtop.phtml
and try to find code:

at line 170:

PHP Code:

 <li class="level0" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)" >
            <a href="#"><span>Norite's Color</span></a>         
            <?php echo $tmpTools->genToolMenu ($tmpTools->getParam('usertool_color'),'txt'); ?>
        </li>


and at line 193:

PHP Code:

 <li id="parent_menu9999" class="level0" onmouseout="toggleMenu(this,0);" onmouseover="toggleMenu(this,1); hideAllMenu();  displayChildMenu('9999'); " >
            <
a href="#"><span>Ores's Color</span></a>
        </li> 




and at line 228:

PHP Code:

 <?php 
        
echo '<div class="subnav-item" id="child_menu9999" style="display:none" onmouseover="hideAllMenu(); displayChildMenu(\'9999\');">';
        echo 
$tmpTools->genToolMenu ($tmpTools->getParam('usertool_color'),'txt'); 
        echo 
'</div>';
        
?>


Please remve them into the template

Thanks

#1
Profile photo of John Bouth 0.00 $tone May 20, 2010
Public

Thank you tienhc,

Removed as instructed and it works.

Also, i would like to add my categories that i’ve created in the backend. How do i put that on menu, is there a setting for it in the backend, many thanks.

#2
Profile photo of Johan du Plessis 0.00 $tone June 23, 2010
Public

Hi,

I was reading this thread and was wondering, how would I add something to the top menu. For example I would like to add an "about us" menu link to the top menu.

Secondly, I would like to know how to set it so that only specific product categories are added to the top menu. For example, I have 10 categories on my website. The top menu is too small for all of these, and causes it to display badly. I would like to choose for example only selected categories in the top menu (or none at all -- depening on my preference) I want all of my catagories to be displayed in the right hand category menu.

ANy help would be greatly appreciated

#5
congtq 0.00 $tone June 29, 2010
Public

Hi nanodog.

I was reading this thread and was wondering, how would I add something to the top menu. For example I would like to add an "about us" menu link to the top menu.

In file app\design\frontend\default\jm_noritetemplate\cat alognavigationtop.phtml, you should add the bold line in which about-magento-demo-store is defined in CMS->Pages

Code:

<div class="header-nav">
	<h4 class="no-display"><?php echo $this->__('Category Navigation:') ?></h4>
	<ul id="nav" class="clearfix">
	<li <?php echo $homecls;?>>
				<a  href="<?php echo $this->getUrl('') ?>" title="Home"><span>Home</span></a>
	</li>
	<?php foreach ($this->getStoreCategories() as $_category): ?>
		<?php echo $this->drawItem($_category) ?>
	<?php endforeach ?>
	<li class="level0" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)" >
		<a href="#"><span>Norite's Color</span></a>         
		<?php echo $tmpTools->genToolMenu ($tmpTools->getParam('usertool_color'),'txt'); ?>
	</li>
	<li><a href="<?php echo $this->getUrl('about-magento-demo-store') ?>"><?php echo $this->__('About') ?></a></li> 
	</ul>
</div>

Secondly, I would like to know how to set it so that only specific product categories are added to the top menu

Unfortunately, magento hasn’t supported this feature yet

I want all of my catagories to be displayed in the right hand category menu.

Currently the category is displaying in the right side

#6
Profile photo of Johan du Plessis 0.00 $tone July 1, 2010
Public

Thanks for the reply, I have another menu related question:
I currenlty have my test site running at http://www.nanodog.net

You will see that on the left hand side you can see the categories and their sub-categories, how do i remove the sub categories from this menu, so that only the main categories are displayed?

#7

This question is now closed

Written By

Comments