barneym:1151183150 wrote
I was successful in setting up the two separate wiki homes pointed at a common data directory. However, I have run into a case where the two templates are bleeding into each other. Most specifically the "Monobook" template is using the link colors and some other css from the "Arctic" template.
The problem is that the CSS of the templates gets cached. If you watch a wikipage with the monobook template which CSS was previously cached during it was viewed with the arctic template you have a problem. May the multitemplate [1] can help you.
[1]
http://tatewake.com/wiki/projects:multitemplate_for_dokuwiki
UPDATE:
As an alternative you could modify the /lib/exe/css.php of both of your wikis and change
35 // The generated script depends on some dynamic options
36 $cache = getCacheName('styles'.$print,'.css');
to
35 // The generated script depends on some dynamic options
36 $cache = getCacheName('styles'.$conf['template'].$print,'.css');
This way the template name is used within the cache-filename and you should get the cached CSS for the template you view your pages with.
I sent a patch with this modification.
Regards
chi