|
The Documentation Site
© Metadot Corporation |
generates all needed javascript and css tags. Accept page as parameter. Must be present in the template header.
Example usage:
<head>generates some onclick and onmousemove handlers, needed for the gizmo context menus. Accept page as parameter. Must be present in the template body tag.
Example usage:
<body {{page | body_attrs}}>Generates the edit bar for the current page. Must be present in the template body. Accept a page as parameter.
Example usage:
<body {{page | body_attrs}}>Generates a gizmo area. Must be in the template body. Accept the number of the area as parameter.
Example usage:
<body {{page | body_attrs}}>Returns the url path to the theme assets. Accept file name as parameter.
Example usage:
{{ 'common.js' | asset }}Generates stylesheet tag. Accept asset file name as parameter.
Example usage:
{{ 'textile.css' | stylesheet }}Generates javascript tag. Accept asset file name as parameter.
Example usage:
{{ 'common.js' | javascript }}Generates image tag. Accept asset file name as parameter.
Example usage:
{{ 'some_image.jpg' | image }}Replace the default item separator with the '<' symbol
Example usage:
{{ page.breadcrumb | lt }}Replace the default item separator with the '>' symbol
Example usage:
{{ page.breadcrumb | gt }}Add message container to the page, where the system messages will appear. Accept as parameter a style string containing style of the message text.
Example message:
{{ '' | message}}Load gizmos html content in the page gizmo areas. Should be present in each layout.
Example usage:
...
{{page.load_gizmos}}
</body>
</html>
If you want your visitors to be able to subscribe for page content email notifications, then use the subscription_tag function.
Example usage:
{{ page | subscription_tag }}
subscribe for this page
{{ page | subscription_tag_end }}
Use search_tag where you want to place a search box.
Example usage:
{{ "search in this site" | search_tag }}
Use file_explorer_navigation where you want to place a folder explorer looking page sub-tree, by passing the root page id.
Example usage:
{{ 724 | file_explorer_navigation }}
Example - root page title is "Files":

Generates a hot link around the selected html code, by clicking on which a popup window will open with form to be filled and send to an email with a link to the current page.
Example usage:
{{ page | open_send_this_page_to_a_friend }}<img src="{{ 'SaveThisPage.jpg' | asset }}" alt="Send This Page to a Friend">{{ page | close_send_this_page_to_a_friend }}