And you cannot do that with Markup('yourmarkupname', 'directives',  
'/\\(:noleft:\\)/ei', "YourFunctionThatTriggersWhateverYouNeed()"); ?

I am actually not sure if that works with noleft, noright, noheader, etc. since 
I always use custom section names in my skins.

Josh

On Nov/08, 2012, at 0817 , Oliver Betz wrote:

> [email protected] wrote:
> 
>>> http://www.pmwiki.org/wiki/Cookbook/RemovingLeftContent is marked
>>> obsolete.
>>> 
>>> What is the right way to check for excluded sections like (:noleft:)
>>> to change CSS styles accordingly?
> 
>> I think the answer to your question can be found here: 
>> <http://www.pmwiki.org/wiki/PmWiki/SkinTemplates>
>> See the “Page sections” chapter.
> 
> I can't find the answer there.
> 
> To be clear: "noleft query in skin.php for CSS change" means that I
> want to know in skin.php whether a page section is deactivated to
> inject a CSS rule in the HTML (via $HTMLStylesFmt[]).
> 
> Oliver
> -- 
> Oliver Betz, Muenchen (oliverbetz.de)
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> [email protected]
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to