[SOLVED] Style Switcher bug

Corporate Ltd is perfect choice for your next business Joomla website
GK User
Mon May 11, 2009 3:26 am
I am trying to default the template to use style 3 or the orange css.
I have changed to default in the template manager and even turned off the style switcher, but yet it still opens with the blue. No matter the browser. I used the quick start btw.

Is there something Im missing?
User avatar
Fresh Boarder

GK User
Mon May 11, 2009 7:26 am
Hi

but if you want orange than you must set up orange color inside template setting, not default color!
User avatar
Senior Boarder

GK User
Mon May 11, 2009 7:40 am
Sorry, mistyped. Not default but changed to orange in the first selection but it still shows blue....

Any idea why?
User avatar
Fresh Boarder

GK User
Mon May 11, 2009 10:34 am
Hi

Yes, you are right. There a small bug on style switcher.

Here's the fix for it.

Open ../templates/gk_corporate/lib/php/gk_head.php

Find this code:

Code: Select all
<link href="<?php echo $template_baseurl; ?>/css/style<?php echo (isset($_COOKIE['gk25_style']) ? $_COOKIE['gk25_style'] : 1); ?>.css" rel="stylesheet" media="all" type="text/css" />


Replace it with:

Code: Select all
<link href="<?php echo $template_baseurl; ?>/css/style<?php echo (isset($_COOKIE['gk25_style']) ? $_COOKIE['gk25_style'] : $template_color); ?>.css" rel="stylesheet" media="all" type="text/css" />



Or download the respective file attach.

This fix will be updated on template ASAP.

Cheers ;)
User avatar
Platinum Boarder

GK User
Mon May 11, 2009 8:08 pm
Thank you!

That did the trick, thanks for the quick response.


B)
User avatar
Fresh Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.