Have sent you the following email:
I think that I found the cause of the problem. The problem is not the cache component but the problem is within the template chooser self. I've made an installation without the cache and the same problem occurs. Eitherway this works for me:
The cookies are set for the relative path that the user is on. This can you solve by editing the joomla.php (within the includes directory of the joomla installation). I made the following adjustments:
- on line 1233 the lifetime of the cookie is set to 60x10 (10 minutes!) I've increased it at my site to 24*3600 (1 day).
code:
$lifetime = 3600*24;
Also the cookie should be set for the whole domain and not the relative paths. Therefore you must change the following line of code: line 1235 and line 1238 into:
line 1235: setcookie( 'jos_user_template', "$jos_change_template", time()+$lifetime, "/");
line 1238: setcookie( 'jos_user_template', '', time()-3600 , "/");
The "/" takes care that the cookie is set for the whole path. And not the relative paths
Please let me now if this works for you
Regards,
Richard