[pmwiki-users] jumpbox error
Patrick R. Michaud
pmichaud at pobox.com
Thu Dec 14 17:24:15 CST 2006
On Thu, Dec 14, 2006 at 11:15:00PM +0000, Hans wrote:
> Thursday, December 14, 2006, 10:56:48 PM, Patrick wrote:
>
> > Oops, mistake on my part. I think that at the time I wrote
> > that I was thinking of using value=pagename, but then changed
> > it to be value=pageurl instead.
>
> If one wants to use page names it works fine by prefixing
> {$ScriptUrl}:
>
> (:input jumpbox value="{$ScriptUrl}?n=Cookbook.Input" label=Input:)
>
> or shorter
>
> (:input jumpbox "{$ScriptUrl}?n=Cookbook.Input" Input:)
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.
Pm
More information about the pmwiki-users
mailing list