remove color

need help. please…

1. can you tell me how to remove this? (attached image file)

2. i want red color as default color. could you tell me how?

Thank you

3 answers

Profile photo of thangnn1510 0.00 $tone December 7, 2010
Public

Hi Johnpark!

This is quick solutions for your problems:

-- please go to app/design/frontend/default/jm_natris/template/page then edit ja_vars.php

-- Find this line (about line 36):

PHP Code:

 $_params->set('usertool_color'4); //0: disable, 4: show colors tools. 




Change to

PHP Code:

$_params->set('usertool_color'0); //0: disable, 4: show colors tools 




This helps you to remove color menu.

-- Find this line (about line 28):

PHP Code:

$_params->set('ja_color','default');//'default','orange','green','red' 




change to

PHP Code:

$_params->set('ja_color','red');//'default','orange','green','red' 




This helps you to set default site color is "red"

Hope you could solve your problem quickly with this.

#1
johnpark 0.00 $tone December 7, 2010
Public

thank you for your reply.

i try your instruction. 1st question, it disable it, not delete it. i want to remove it not disable.

#2
Profile photo of thangnn1510 0.00 $tone December 8, 2010
Public

Hi John Park!

To remove the color menu, please do the following:

-- Open: app/design/frontend/default/jm_natris/template/catalog/navigation/top.phtml

-- Remove these codes:

+ line 176 to 181:

PHP Code:

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


+ Line 193 to 197:

PHP Code:

<?php if ( $tmpTools->getParam("usertool_color"'4') == "4" ) : ?>
        <li id="parent_menu9999" class="level0 parent" onmouseout="toggleMenu(this,0);" onmouseover="toggleMenu(this,1); hideAllMenu();  displayChildMenu('9999'); " >
            <a href="#"><span>Natris's Color</span></a>
        </li>
        <?php endif; ?>


And the last one, line 225 to line 230:

PHP Code:

<?php if ( $tmpTools->getParam("usertool_color"'4') == "4" ) : 
                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>';
             endif; 
            
?>


Hope you helps you.

#3

Please login or Register to Submit Answer

Written By

Comments