[pmwiki-users] noleft query in skin.php for CSS change

Oliver Betz list_ob at gmx.net
Thu Nov 8 10:22:19 CST 2012


Hello Hans,

[...]

>But you could try something like this:
>(:noleft:) via the core definition will set variable
>
>$GLOBALS['TmplDisplay']['PageLeftFmt'] = 0;
>
>so you could check for that in your skin.php to trigger your style
>injections:
>
>if ($GLOBALS['TmplDisplay']['PageLeftFmt']==0)
>   { $HTMLStylesFmt['[...'] = ....; }

that's what I tried before I asked here. It doesn't work, the
expression always evaluates "true".

Oliver




More information about the pmwiki-users mailing list