[dokuwiki] Re: Template Switching Action

  • From: "Gerry Weißbach" <gerry.w@xxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: 1 Aug 2006 11:07:02 -0000

Am 1.8.2006 schrieb "Chris Smith" <chris@xxxxxxxxxxxxx>:

>Gerry Weißbach wrote:
>> Good morning.
>>
>> I am currently writing an action plugin, which will give a button to
>> instantly change the template of the whole DokuWiki for the actual
>> Session. Actually it works for the template, but not for the style. The
>> reason is imo that calling the /lib/exe/css.php does not trigger any
>> event. Is that right? Could that be changed? I can imagine there will be
>> more things that want to trigger the css or js build up.
>>
>> Best Regards,
>> Gerry
>>
>iirc, recent changes make the css & js cache name dependent on the
>current template.

I am aware about the fakt that the css.php and js.php are generated
without using lots of other wiki functions and therefore are dependent
on the $conf settings. I also know, that if I'd i.e. implement my code
to change this $conf into the local.protected.php it would work (I did
so for the older release) but I want a solution that is independent of
changing source code. Therefore I asked for an event which could easily
be implemented into the css.php

>--
>DokuWiki mailing list - more info at
>http://wiki.splitbrain.org/wiki:mailinglist
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: