[pmwiki-users] $PageUrl not being parsed

Hans design at softflow.co.uk
Sat Jan 28 03:29:48 CST 2006


Saturday, January 28, 2006, 4:45:45 AM, Ryan wrote:
> I am using v2.0.13... downloaded it yesterday.

> Just for kicks I edited a page that is working properly (not one with
> the forum) and added "{$PageUrl}" to the page.  I assumed that the  
> URL would be populated on the page.  It was not.  Is this what should
> have been visible?

{$PageUrl} is a page variables. Page variables were only introduced in
2.1 beta 15, so you need the latest beta for it to work.

To have the form markup working with pmwiki 2.0.13 you would need to
replace
   (:input form name=cboxform action={$PageUrl} method=post:)
with
   (:input form name=cboxform "http://yoursite.com/pmwiki/pmwiki.php":)
   
(replace this with the actual path to your pmwiki php, i.e. the value of
what may be written in config.php as $ScriptUrl.
The method=post is not really necessary, it is implied.

Now i am curious: was there a way to use $PageUrl or $ScriptUrl in the
form markup prior to pmwiki 2.1.beta15 ?


Best, 
~Hans                           






More information about the pmwiki-users mailing list