Hi !
How to remove the Fabian’s color link located in the top menu and how to select one of these color through backend admin ?
Congratulations for your work !
3 answers
Dear sini54,
Please open file app\design\frontend\default\jm_fabiantemplate\cat alognavigationtop.phtml
Code:
<div class="header-nav-container"> <div class="header-nav"> <h4 class="no-display"><?php echo $this->__('Category Navigation:') ?></h4> <ul id="nav" class="clearfix"> <?php if ($tmpTools->isHomepage()===FALSE) { $homecls='class="nav-home"'; } else { $homecls='class="nav-home active"'; } ?> <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 onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)" > <a href="#"><span>Fabian's Color</span></a> <?php echo $tmpTools->genToolMenu ($tmpTools->getParam('usertool_color'),'txt'); ?> </li> </ul> </div> <?php echo $this->getChildHtml('topLeftLinks') ?> </div>
and remove lines 54 as follow:
Code:
<div class="header-nav-container"> <div class="header-nav"> <h4 class="no-display"><?php echo $this->__('Category Navigation:') ?></h4> <ul id="nav" class="clearfix"> <?php if ($tmpTools->isHomepage()===FALSE) { $homecls='class="nav-home"'; } else { $homecls='class="nav-home active"'; } ?> <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 ?> </ul> </div> <?php echo $this->getChildHtml('topLeftLinks') ?> </div>
I have removed the additional <li> tag as indicated above -- so the following lines were removed from app\design\frontend\default\jm_fabiantemplate\cat alognavigationtop.phtml
Code:
<li onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)" > <a href="#"><span>Fabian's Color</span></a> <?php echo $tmpTools->genToolMenu ($tmpTools->getParam('usertool_color'),'txt'); ?> </li>
however the menu item is still displayed.
See here -- http://www.bulletmarketing.com.au
Any ideas or assistance greatly appreciated!
T
Note -- you need to clear your store cache too.
System > Cache Manager > All Cache set to "Refresh" and Save Cache settings.
This question is now closed