[pmwiki-users] Re: Supporting different modes in default pmwiki

Christian Schlatter ch at schlatter.net
Sun Aug 7 08:16:12 CDT 2005


Hans wrote:
> We got an (:if auth .... :) conditional markup for wiki pages.
> This can be used to show or hide certain actions in the skin.
> If the skin uses separate wiki pages to configure the actions (action
> lists) then that is very easily done. For skins which have the action
> lists inside the template it is a little more tricky, but still
> possible. For instance by using <!--markup:.............--> to include
> wiki markup in the skin template.

The <!--markup... syntax is new to me. Does something like the following 
work as expected:

<!--markup:(:if ! auth edit:)-->
... some HTML ...
<!--markup:(:if:)-->


Thanks,
ChristianS




More information about the pmwiki-users mailing list