See and vote for http://www.pmwiki.org/wiki/PITS/01298
Description: Provide a page variable<http://www.pmwiki.org/wiki/PmWiki/PageVariables> (or page text variable<http://www.pmwiki.org/wiki/PmWiki/PageTextVariables>) for each of the following page directives<http://www.pmwiki.org/wiki/PmWiki/PageDirectives> that indicates if they have been activated for a specific page (:notitle:) (:noaction:) (:noleft:) (:noheader:) (:nofooter:) (:nogroupheader:) (:nogroupfooter:) This will allow use in conditional markup<http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup> to support moving the wiki header from the template to a wiki page On 9 November 2012 10:40, Oliver Betz <[email protected]> wrote: > 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) > > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > -- ____ http://kiwiwiki.co.nz
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
