[pmwiki-users] login visible, not edit etc

Hans design5 at softflow.co.uk
Wed Mar 26 13:28:26 CDT 2008


Wednesday, March 26, 2008, 6:11:42 PM, James Montaldi wrote:

> So I guess I could just remove the hard coded part of pmwiki.tmpl.
> How does it work in Triad?  (I'm using that in another wiki).  Is it the
> same?

you could remove it. or replace with something similar to the top
action section.

Triad uses two pages for the action links:
PageTopMenu and PageFootMenu, and has its own markup to turn these
off: (:notopmenu:) and (:nofootmenu:).
(:noaction:) also works and turns both top and foot action menu off.

But for sites which hide the actions for visitors, but not for
editors, I use conditional markup, in the
Site.PageTopMenu and Site.PageFootMenu page, like

(:if ! auth edit:)
...action link markups
.....


  ~Hans




More information about the pmwiki-users mailing list