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.00 config end
 2: 00.06 00.02 MarkupToHTML begin
 3: 00.06 00.03 MarkupToHTML begin
 4: 00.11 00.05 MarkupToHTML end
 5: 00.12 00.05 MarkupToHTML end
 6: 00.13 00.06 MarkupToHTML begin
 7: 00.14 00.06 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
 8: 00.15 00.07 ReadApprovedUrls SiteAdmin.ApprovedUrls end
 9: 00.16 00.07 MarkupToHTML end
10: 00.16 00.07 MarkupToHTML begin
11: 00.17 00.08 MarkupToHTML end
12: 00.17 00.08 now
Peak memory: 3,318,608 bytes