Developer's Manual  Macro Language  $link()

$link()

Returns page title as a link to that page.


{$link([mixed page_id])[string text1][|string text2]}

Macro returns <a href="path_to_the_page"> tag with the page title inside the tag.

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.

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

Please login to add comments.