Re: [xwiki-users] colorThemeInit and updating theme problem

2010-05-05 Thread Ben Stuggler
Sorry to come back with this problem but I have not yet found a solution. I have to refresh the Main.Webhome (certainly with a window.location.reload(true);) just after the first connection. Is there anybody who have an idea of where and what I can do? Thanks Regards -- View this message in

Re: [xwiki-users] colorThemeInit and updating theme problem

2010-05-05 Thread Denis Gotthans
Ben Stuggler schrieb: Sorry to come back with this problem but I have not yet found a solution. I have to refresh the Main.Webhome (certainly with a window.location.reload(true);) just after the first connection. Is there anybody who have an idea of where and what I can do? Thanks Regards

Re: [xwiki-users] colorThemeInit and updating theme problem

2010-05-05 Thread Ben Stuggler
Denis Gotthans wrote: Please try to add next two lines to skins/colibri/colibri.css which marks the css resource as uncachable. $response.setHeader('CACHE-CONTROL','NO-CACHE') $response.setHeader('EXPIRES','0') -- Denis ___ users

[xwiki-users] colorThemeInit and updating theme problem

2010-04-23 Thread Ben Stuggler
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

Re: [xwiki-users] colorThemeInit and updating theme problem

2010-04-23 Thread Sergiu Dumitriu
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

Re: [xwiki-users] colorThemeInit and updating theme problem

2010-04-23 Thread Ben Stuggler
Sergiu Dumitriu-2 wrote: 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); Thanks, but I really don't know