[pmwiki-users] how to add action to browser url

Patrick R. Michaud pmichaud at pobox.com
Mon Sep 4 15:24:32 CDT 2006

On Mon, Sep 04, 2006 at 03:19:25PM -0500, JB wrote:
> How would I customize my wiki so that 
> when someone types "?action=editmenu" at
> the end of the url in the browser it starts 
> to edit the menu?

One way to do it... in local/config.php:

    if ($action == 'editmenu') 
      Redirect('Site.SideBar', '$PageUrl?action=edit');


More information about the pmwiki-users mailing list