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