Hi. We run this template in multistore. We deactivated in top.phtml navigation the user-option to choose a color. Now, how can we define that store A allways runs in red, store B runs in blue and store C runs in orange, store D runs in blue, etc…? Thanks in advance!
2 answers
Hi Adexa!
Could you give us the login information FTP/admin account to your site via NUK-240-42901 http://support.joomlart.com. I’ll check this for you.
Thank you.
Dear Grauf Manuel!
Thanks for sharing me the info. I have tried and tested in your site. Please replace this code:
Code:
$_params->set('ja_color','default');//'default','red','orange','green'
by:
Code:
if(Mage::app()->getStore()->getCode() == "uno_french"){ $_params->set('ja_color','red');//'default','red','orange','green' }else if(Mage::app()->getStore()->getCode() == "uno_german"){ $_params->set('ja_color','green');//'default','red','orange','green' }else{ $_params->set('ja_color','orange');//'default','red','orange','green' }
in /app/design/frontend/default/your_store/template/page. You could also change color in each part of above code to suit your idea.
Tell us if you still need more help.
Thank you.