CMS help pages
  
You are here: Home > Developers > Overview

Overview of CMS tags

CMS tags enable you to embed user controls or other elements into your templates. E.g. <cms type=text id=mytext_1 scope=folder>

Type

Function

Parameters

Usage

USER

Renders the sections of content added to the page by the user. Renders the user controls to add, delete and move sections. This tag can only be used once in a page.

None

Page

TEXT

Invokes a rich text editor for user to change content. The content will render at the location of this tag.

ID [compulsory]

Your identifier for this editable content.

NOHTML [optional]

Forces the editor into "plain text" mode.

HTML [optional]

Allows the user to enter any HTML or script. Use for widgets.

SCRIPT [optional]

Render user input "safe" for use as javascript constants.

SCOPE [optional]

All, page, folder or section. Where this content will appear.

Page

Section

TEXTSOURCE

Invokes a plain text editor for user to enter text. The text will render at the TEXTTARGET tag.

ID [compulsory]

HTML [optional]

Allows the user to enter any HTML or script. Use for widgets.

SCRIPT [optional]

Render user input "safe" for use as javascript constants.

SCOPE [optional]

All, page, folder or section. Where this content will appear.

TEXTTARGET

Placeholder for content entered via TEXTSOURCE.

ID [compulsory]

SCOPE [optional]

All, page, folder or section. Where this content will appear.

FILESOURCE

Invokes a list of files for user selection. Designers will also see files they choose to hide from the user. Filename will render at the FILETARGET tag.

ID [compulsory]

FILTER [optional]

Filters the list of files presented to match string. e.g.: filter=".jpg,.gif" will only show files which match '.jpg' or '.gif'.

Page

Section

FILETARGET

Renders the filename of the file selected by the user via FILESOURCE. Publication of the file and prevention of user deletion is automatic.

ID [compulsory]

SCOPE [optional]

Page

Section

IMAGESOURCE

Invokes a searchable thumbnail gallery of user images.

ID [compulsory]

SCOPE [optional]

Page

Section

IMAGETARGET

Renders the filename of the image selected via IMAGESOURCE.

ID [compulsory]

SCOPE [optional]

Page

Section

FORM

Generates opening <form> tag with parameters pre-set, and user controls to set target page and target email address.

ID [compulsory]

SCOPE [optional]

Page

Section

SECTIONID

Returns a permanent unique ID for this section of content. For use in element IDs and scripts invoked from a section template. Enable scripts to easily identity the calling section.

None

Section

SITEMAP

Generates a stylable sitemap for all pages set to 'include in menu'.

None

Page

Section

NAV

Placeholder for main navigation

None

Page

SUBNAV

Placeholder for sub navigation, i.e. list of pages within current folder.

None

Page

PATH

'You are here' style breadcrumbs.

None

Page

 

Other CMS TAGs

Publish only content

//* ... *//

Comments

<c>Comment seen by end user</c>

<cd>Comment seen by designer</cd>