Remove Fabian's color link

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

Profile photo of Css Magician 0.00 $tone November 30, 2009
Public

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>
#1
Profile photo of TAnne Mills 0.00 $tone January 15, 2010
Public

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

#2

This question is now closed

Written By

Comments