Developer's Manual  Macro Language  $custom()

$custom()

Returns custom property value of a page.


{$custom([mixed page_id], string property_name)[string text1][|string text2]}

Optional parameter page_id may take the following values:

Value Description
omitted Returns the title of current page.
Valid page id number Returns the title of page having that id number..
^ Returns the title of parent page.

Parameter property_name specifies name of the page property.

If SiteSupra found requested property, it adds optional parameter text1 to the end of the property value. If SiteSupra failed to find the property, it shows parameter text2.

Please login to add comments.