marc said... > marc said... > > In many places with non-user-editable text, I want: > > > > (:if ! auth admin:)(:noaction:)(:ifend:) > > > > This works fine in local/Site.php and other places. > > > > However, when authorisation is required and the login form appears, I > > can't find a way to stop PageActions from being displayed. > > > > Is this possible? > > I'm still stuck trying to find a way to stop page actions appearing when > the login handler exit()s. > > I've abandoned hope of this working within regular PmWiki, and turned to > the skin. However, as mentioned in another message: > > <!--PageActionFmt--> > <!--markup:(:if authedit:)(:div1 id=menubar:)(:div2 id=wikicmds:) > (:include {$Group}.PageActions {$SiteGroup}.PageActions:)(:div2end:) > (:div1end:)--> > <!--/PageActionFmt--> > > doesn't parse the second div, but outputs it verbatim as text, which is > a bummer.
Just to confirm that 2.2.0-beta22 fixed this. I used: <!--PageActionFmt--> <!--markup: (:if authedit:) (:div1 id=menubar:) (:div2 id=wikicmds:) (:include {$Group}.PageActions {$SiteGroup}.PageActions:)(:div2end:) (:div1end:)--> <!--/PageActionFmt--> Marvelous. -- Cheers, Marc _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users