[pmwiki-users] detect (:noleft:), etc in template?

Dominique Faure dominique.faure at gmail.com
Mon Jul 31 04:46:30 CDT 2006


On 7/27/06, Thomas -Balu- Walter <list+pmwiki-users at b-a-l-u.de> wrote:
> Hi all,
>
> is there a way to detect the (:noleft:), (:noright:), etc. directives in
> the template somehow?
>

In a template related php file, you only have to test if the related
global variable Page...Fmt has been cleared (which is the purpose of
the directive) or not.

See the directive definition in scripts/stdmarkup.php to get the variable name.

Regards,
Dom




More information about the pmwiki-users mailing list