JM Ores color choice

I have JM Ores template on my website and i want to remove the possibility to change color when people visit my website. I have modified the "Light color" the way I want so I also want this one to be the default of course.

1 answer

congtq 0.00 $tone June 16, 2010
Public

Hi vallagruppen.

You need to follow 2 steps:

1. To remove the color selector:
open file app\design\frontend\default\jm_orestemplate\catal ognavigationtop.phtml, remove codes below:

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

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>';
?>

2. To set default color:
open app\design\frontend\default\jm_orestemplate\page\ ja_vars.php, at line 28, edit as you want

Code:

$_params->set('ja_color','light');//default, red, blue, light
#1

This question is now closed

Written By

Comments