First of all, you must have AuthUser enabled.
Then, in Site.PageActions, add the following:
Now when the user is not authenticated (not logged in), he will see a "login" tab; if he is logged in, he will see "logout".
(:if authid:)
* %item rel=nofollow class=logout accesskey='$[ak_logout]'% [[{*$FullName}?action=logout | $[logout] ]]
(:ifend:)
(:if ! authid:)
* %item rel=nofollow class=login accesskey='$[ak_login]'% [[{*$FullName}?action=login | $[login] ]]
(:ifend:)
Labels: PmWiki
This post has
no comment.
Add your own!
Subscribe to:
Post Comments (Atom)

