Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

System Placeholders

In addition to the placeholders defined in Author-it Website Manager there are several system-level placeholders. These are special placeholders that should not be overridden.

  • {sys_experience_url} - provides the location of the current experience. The purpose of this placeholder is to allow linked files (images, css files, JavaScript files, etc) used in the templates to be linked correctly. When a template is added to Author-it Website Manager the placeholder is automatically added to references for the linked files.

    For example, <img src="images/home.gif" /> becomes <img src="{sys_experience_url}/images/home.gif" />

    Note: When the template is viewed outside of Author-it Website Manager this breaks the links to images, etc. .

  • {sys_content_url} - provides the location for the content. When pages are added to Author-it Website Manager the placeholder is automatically added to any linked files (images, etc)

    For example, <img src="images/home.gif" /> becomes <img src="{sys_content_url}/images/home.gif" />

  • {sys_url} - this is the base address of the site (ie. http://www.myawmsite.com/awm/index.php). Any links to different Author-it Website Manager pages in the template need to use this placeholder in front of the link. This placeholder is used by the "Add Pages" importer.

    For example, <a href="?page=123"></a> becomes <a href="{sys_url}?page=123"></a>

  • {sys_page} - indicates the address of the current page (ie. http://www.myawmsite.com/awm/index.php?page=123). Any anchors in the template or content need this placeholder added in front of the link.

    For example, <a href="#top"></a> becomes <a href="{sys_page}#top"></a>

See Also

Defining Placeholders in Website Manager

Defining Placeholders

Page Level Placeholders

Top of Page Email this Page Log Support Call Send Feedback Print