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

Oliver Betz list_ob at gmx.net
Thu Nov 8 15:40:03 CST 2012


Petko Yotov wrote:

>> >if ($GLOBALS['TmplDisplay']['PageLeftFmt']==0)
>> >   { $HTMLStylesFmt['[...'] = ....; }
>>
>> that's what I tried before I asked here. It doesn't work, the
>> expression always evaluates "true".
>
>Actually, the variable $GLOBALS['TmplDisplay']['PageLeftFmt'] is not yet  
>defined when your skin.php file is loaded, because the wikitext has not yet  
>been processed.

that's what I guessed, thanks for the confirmation.

I will redefine (:noleft:) or change the template + CSS to get a
variable layout.

Oliver
-- 
Oliver Betz, Muenchen (oliverbetz.de)




More information about the pmwiki-users mailing list