[pmwiki-users] What is and how to config $EnableRelativePageVars ?

ABClf languefrancaise at gmail.com
Mon Jan 18 19:27:38 CST 2010

Yes, thank you Randy, you answered perfectly ;)
I have modified my test pages for better comparison.

I still have a question : what is the suggested rule to use from now ?
1/ use config $EnableRelativePageVars = 0; and {$PageUrl}, or
2/ use default config and {*$PageUrl} ?

Thank you !

2010/1/19 Randy Brown <randy at brownragfilms.com>:
> When using relative page variables, as is now the default, you need to
> precede the "$" with an asterisk to have the current page be the point of
> reference. "$" without the asterisk makes the page on which the markup
> appears be the point of reference, regardless of whether it's the current
> page.
> I tried changing your {$PageUrl} to {*$PageUrl} on your test page, and got
> the results I expected. Maybe I don't understand your question, and you can
> clarify it.
> Randy
> On Jan 18, 2010, at 5:37 PM, ABClf wrote:
> My question is : can someone explain what is $EnableRelativePageVars
> (or document it) and how to work with ?

| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com

More information about the pmwiki-users mailing list