23 Apr
2010
23 Apr
'10
4:05 p.m.
On 04/23/2010 05:38 PM, Ben Stuggler wrote:
Hello,
I would like to have a specific color theme for my users depending of the groups. So I modified the colorThemeInit.vm to check the user group and apply a specific theme.
My problem is after logging, I have to refresh the page manually to see the new theme, even if I click on a link in the wiki.
How can I force a refresh automatically after logging? Should I call the template colorThemeInit somewhere else ?
This is a browser cache issue. Hard to solve at the moment, since the URL of the skin files is the same, yet the content differs. You can force a hard refresh using some Javascript code, window.location.reload(true); -- Sergiu Dumitriu http://purl.org/net/sergiu/