[pmwiki-users] Some way to return to common page holding two editable regions

Patrick R. Michaud pmichaud at pobox.com
Mon Nov 14 08:13:35 CST 2005


On Sun, Nov 13, 2005 at 02:15:17PM -0500, Henrik Bechmann wrote:
> If I have two standard editable regions on a page (being <--PageText--> 
> (where the current page is 'MyPage') and say <--wiki:MyPageSidebar-->, 
> the sidebar containing content specific to the page), then I can cause 
> edits with
> 
> <a href='$PageUrl?action=edit'>$[Edit Page]
> 
> and
> 
> <a href='$ScriptUrl/MyPageSidebar?action=edit'>Edit Sidebar</a>
> 
> But how do I get the latter to return to the former page, when hitting 
> the "Save" button. IOW when editing MyPageSidebar, how can I return to 
> MyPage rather than MyPageSidebar normal view after hitting Save?

At present there's not a built-in mechanism in PmWiki to do this.
It can be done with some scripting in local/config.php, however.

Pm




More information about the pmwiki-users mailing list