PageUrlVarInclude


(:include PageUrlVar#a:) [-included value is : [@{$PageUrl}@]-]
----
(:include PageUrlVar#b:) [-included value is : [@{*$PageUrl}@]-]

$ScriptUrl/PageUrlVar

 included value is : {$PageUrl}

$ScriptUrl/PageUrlVarInclude

 included value is : {*$PageUrl}

As one can see, included {$PageUrl} value is related to included page, when included {*$PageUrl} value is related to this curent one.
This is a test page for testing value of {$PageUrl} when included in other page.
Written after $EnableRelativePageVars = 1; by default. (gb January 18, 2010, at 06:08 PM) ; thanks to Randy for the help.

 0: 00.00 00.00 config start
 1: 00.01 00.01 config end
 2: 00.11 00.11 MarkupToHTML begin
 3: 00.11 00.11 MarkupToHTML begin
 4: 00.14 00.13 MarkupToHTML end
 5: 00.14 00.14 MarkupToHTML end
 6: 00.14 00.14 MarkupToHTML begin
 7: 00.15 00.15 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.15 00.15 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.16 00.15 MarkupToHTML end
10: 00.16 00.15 MarkupToHTML begin
11: 00.16 00.16 MarkupToHTML end
12: 00.16 00.16 now
Peak memory: 3,554,936 bytes