Style switcher backend problem!

GK User
Sat Jun 18, 2011 11:15 pm
Style switcher from backend don´t work after quickstart installation! Have anyone else the same problem?
User avatar
Fresh Boarder

GK User
Sun Jun 19, 2011 1:26 am
Do you mean when style switcher is disable on backend, style theme set on template parameters don't work?
User avatar
Platinum Boarder

GK User
Sun Jun 19, 2011 1:50 am
Yes.. Thats my problem, if the style switcher is enabled in frontend I can change between light & dark from there but not enable light as default from backend.
User avatar
Fresh Boarder

GK User
Sun Jun 19, 2011 10:36 am
Ok i see what you mean.
For now you can try replacing the following fragment from ../gk_pixellove/layouts/blocks/head.php

Code: Select all
if($template_color == "dark")
    {
        $this->addCSS($this->URLtemplate() . '/css/dark.css');
    }
    if($template_color == "light")
    {
        $this->addCSS($this->URLtemplate() . '/css/light.css');
    }


with

Code: Select all
if($template_color == "1")
    {
        $this->addCSS($this->URLtemplate() . '/css/dark.css');
    }
    if($template_color == "2")
    {
        $this->addCSS($this->URLtemplate() . '/css/light.css');
    }


We will take a closer look to check what is wrong on original.

Cheers ;)
User avatar
Platinum Boarder

GK User
Thu Jun 23, 2011 1:24 pm
Hi guys,
I've noticed another problem about colors in IE8/IE9. I set light theme from backend but when I try to change page, the style go back to dark. In addition in IE8 the style swichter for colors is not aligned with the button for changing the light/dark theme.

Any solution?
User avatar
Gold Boarder

GK User
Thu Jun 23, 2011 6:16 pm
Anyone?
User avatar
Gold Boarder

GK User
Thu Jun 23, 2011 9:59 pm
Hi

Did you already update the template with last version?

Please try it and check if still happens.

Cheers ;)
User avatar
Platinum Boarder

GK User
Fri Jun 24, 2011 7:54 am
Yes, the template is up to date to the latest version 1.1. I noticed that even if the template is set to light from the backend, if you try to load the site the first time the style goes to dark. Then, if I try to switch to light theme from the styleswitcher, this works fine but when I try to load another page, the style goes back to dark theme. This happen only with IE8/IE9. I've also deleted all temp file and cookies. Works fine with firefox/chrome.

Thanks
User avatar
Gold Boarder

GK User
Mon Jun 27, 2011 2:51 pm
Anyone?
User avatar
Gold Boarder


cron