[pmwiki-users] jumpbox error

Dominique Faure dominique.faure at gmail.com
Thu Dec 14 17:42:09 CST 2006


On 12/15/06, Hans <design5 at softflow.co.uk> wrote:
> Thursday, December 14, 2006, 11:24:15 PM, Patrick wrote:
>
> > Even better is
>
> >     (:input jumpbox "{Cookbook.Input$PageUrl}" Input:)
>
> > because it will then use the correct url for the page
> > regardless of the ?n=Cookbook.Input or /Cookbook/Input form.
>
> I thought ?n=Group.Name will always work.
>
> {Cookbook.Input$PageUrl} looks spooky to me at first glance, since
> PageUrl is at the end. Could you please explain this construct?
>

The {$PageUrl} evaluated from to the Cookbook.Input page ie the url of
the Cookbook.Input page.following the current pmwiki config.

A damn *real* clever trick here!

Dom




More information about the pmwiki-users mailing list