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.21 00.20 MarkupToHTML begin
 3: 00.21 00.20 MarkupToHTML begin
 4: 00.24 00.23 MarkupToHTML end
 5: 00.24 00.24 MarkupToHTML end
 6: 00.25 00.24 MarkupToHTML begin
 7: 00.27 00.26 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.27 00.26 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.28 00.27 MarkupToHTML end
10: 00.28 00.27 MarkupToHTML begin
11: 00.29 00.28 MarkupToHTML end
12: 00.29 00.29 now
Peak memory: 3,903,928 bytes