[pmwiki-users] Re: Re: Dynamic wiki trails - passing along the name of the trail page

Martin Fick fick at fgm.com
Tue Apr 5 17:33:41 CDT 2005


Patrick R. Michaud pmichaud at pobox.com  said:

> So, instead of modifying URLs, let's use cookies.  We can set a "trail"
> cookie on the browser that identifies the reader's current trail,
> then the <<|{?trail}|>> or <<|{$TrailCookie}|>> markup displays the 
> trail path corresponding to the cookie.  The cookie gets set by any 
> trail map page containing a (:trailpage:) directive, so when someone 
> visits a trail page, they're setting the implicit {?trail} for any 
> pages they visit later (or at least until they come to another 
> (:trailpage:)).  This stays in place even if they visit pages not
> on the trail, or follow non-trail links.

  Alas, this seems to have a simliar problem but worse when getting
sidetracked:  

  If the user is on a trail and get sidetracked onto another page,
a page with (:trailpage:) on it, then can now no longer use the
back button to return to his original trail!  I really don't
like that!


  -Martin



More information about the pmwiki-users mailing list