[pmwiki-users] Changing the Page Action on Page Load

Bruce & Ann Reidenbach bereiden at gmail.com
Wed Sep 1 10:34:34 CDT 2010


I created a file named MyGroup.MyPage,php in /local with the following code:

       if ($action == 'browse') $action = 'webadmin';

which worked like a charm.  Thanks kindly for the quick response!  Long
term, it would nice to have a (:pageaction myaction:) markup that would
automagically cause a page to be opened with that action.  Are there any

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100901/ebbacc7e/attachment.html>

More information about the pmwiki-users mailing list