Template Manager Configuration

Template Manager options are set in the Plugin Parameters tab in Editor Profiles

Standard Parameters

File Directory Path

This is an optional value to set the path to use for the Template Manager. If left blank, the value in the Editor Parameters Filesystem section is used.

Upload File Size

An optional value for the maxiumum file size allowed when uploading. If left blank, the value in the Editor Parameters Filesystem section is used.

Permitted File Extensions

Set the file types that the Template Manager can upload and display. The default types are htm, html, txt.

Filesystem

Set the Filesystem to use for the Template Manager. Leave unselected to use the filesystem set in the Editor Parameters Filesystem section.

Advanced Parameters

Startup Content

Select an html, htm or txt file to load into the editor when a new article is created.

Replacement Values

This is a comma seperated list of key/value pairs, where the key is a classname or variable in the template html and the value is the replacement for this variable. Example:

username:"Joe Blogs",staffid:"991234"

Using the above replacement values, the variable {$username} in the template html will be replaced with the value 'Joe Blogs', or any tag with the class name 'username' will have the value 'Joe Blogs' inserted into it. Example:

The html Username : {$username} will become Username : Joe Blogs

Content Classes

This is a list of class names, seperated by spaces, used by Templates. When article content is selected and a Template applied, any html within the Template that contains one of these classes, will be applied to the selected content. Example:

selcontent selectedcontent selected

Creation Date Classes

A list of class names separated by spaces. Any Template with one of the classes will have its content replaced by the 'creation' date, formatted according to the Creation Date Format option. A creation date is one that is set if no previous date existed within the element. Once set the original date is stored inside the element in a HTML comment and is designed not to change even with a template change. Example:

cdate creationdate

Modified Date Classes

A list of class names separated by spaces. Any Template with one of the classes will have its content replaced by the 'modified' date, formatted according to the Modified Date Format option. A modified date is one that is updated with each edit. Example:

mdate modifieddate

Creation Date Format

A date format string for the creation date. Example:

%m/%d/%Y : %H:%M:%S

Modified Date Format

A date format string for the modified date. Example:

%m/%d/%Y : %H:%M:%S

Permissions

Set whether the Template Manager can allow uploading, folder creation, folder/file deleting and renaming and file cut/copy/paste options.