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.02 00.01 config end
 2: 00.22 00.21 MarkupToHTML begin
 3: 00.22 00.21 MarkupToHTML begin
 4: 00.25 00.24 MarkupToHTML end
 5: 00.26 00.25 MarkupToHTML end
 6: 00.26 00.25 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.28 00.27 MarkupToHTML end
12: 00.28 00.27 now
Peak memory: 3,926,208 bytes