[pmwiki-users] hiding items of the sidebar depending on authorization level

Patrick R. Michaud pmichaud at pobox.com
Fri Nov 23 16:00:11 CST 2007


On Fri, Nov 23, 2007 at 11:55:39PM +0200, Iannis Zannos wrote:
>    Hello, 
>    Is it possible to hide items from a sidebar to all who have not entered,
>    for example, 
>    an admin or edit level password? That is, to make the show of a sidebar
>    entry 
>    conditional on the level of access authorized for a viewer? 
>    Could someone point me to instructions of how to do this? 

Surround the items with

    (:if auth admin:)
    ...
    (:ifend:)

Pm




More information about the pmwiki-users mailing list