Thanks very much for helping me the other day with getting set up.

I've got my basic wiki up and running with security set up and my bookmarklet process working. All in all, pretty happy with the setup.  PMwiki  very light weight and I like how the cookbooks fit in.   So far I've been able to find my answers in the documentation, but I'm stuck on the following.

Two questions:
First On my left margin I have

* [[Main/HomePage]]
* [[Main/WikiSandbox]]

* (:if authid:) User: [[Main.{$AuthId} | {$AuthId}]] (:else:) [[Site.AuthUser | Please login]] (:ifend:)

%sidehead% [[PmWiki/PmWiki]]

This shows either the link to Site.Authuser so the user can log in, or their user name as a link to their personal home page. 

After they do the authentication is there a way to send them off the Site.Authuser page to some place else?  The page they were on before they did the Auth would be best but Main.{AuthId} or  Main.HomePage would also work.   I'm kind of following along in scripts/authuser, but not seeing how I can get it to return to do a redirect.

Second question is there a way to count the number of times a page has been accessed?   I found a cook book that seems to track edits, but not just a plain read.  That cookbook seems to be plugging into the list of functions that are called as part of the edit/update cycle. 

Having a page called Main.Pagecounts with a row for each  page name and the access count would be fine, or a variable  that I could put in the page to say "This page has been accessed {$Pagecount} times."  

Thanks very much for your help and support!
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to