[Pmwiki-users] Skinning once more

Thomas -Balu- Walter list+pmwiki-users
Thu Feb 26 12:06:57 CST 2004


On Thu, Feb 26, 2004 at 11:11:41AM -0700, Patrick R. Michaud wrote:
>   2.  If you want an alternate mechanism, write the skin instructions 
>       such that someone does  include_once("pub/skins/myskin/myskin.php");
>       instead of $PageTemplateFmt = 'pub/skins/myskin/myskin.tmpl', and
>       let the skin's .php script handle the setting of $PageTemplateFmt.

Tss - you were once again faster than me and took an easier approach to
find the solution. Mine was like this:

Just drive home from work on your bike on a snowy street. 30 meters from
your door your front wheel slips on the doorway and you take a
purler(?). Then - in the moment your life starts to rush by (not much,
because you are not dying - let's say just about 45 minutes) - you
rethink your post to the PmWiki mailing list and since you are
concentrating on the pain that is about to come you don't have the time
to think complicated... *PLING*

Tell your users to include('pub/skins/balu/balu.php'); in
local/config.php, idiot!

> Ummm, why are you using the arithmetic '+' operator for strings anyway?  
> Doesn't it just set the resulting values to zero?  But assuming you meant
> '.' (concatenation)...

Yes, sorry :). I did too much JavaScript today.

     Balu



More information about the pmwiki-users mailing list