[pmwiki-users] Page action won't disappear

Petko Yotov 5ko at free.fr
Sat Jan 13 10:21:55 CST 2007


On Saturday 13 January 2007 17:04, marc wrote:
> 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.
>
[cut]
> I've abandoned hope of this working within regular PmWiki, and turned to
> the skin. 
[cut]
>
> As mentioned previously, adding (:noaction:) to Site.AuthForm doesn't
> have any visible affect.
>
> In a separate attempt, I've even tried:
[cut]
> to no avail.
>
> Any ideas, however seemingly unlikely to work, would be appreciated.

Did you try to do it inside the page Site.PageActions?

(:if auth admin:)

Here the previous content with the line "(:if auth upload:)" REMOVED

(:if:)


Petko




More information about the pmwiki-users mailing list