Support Documentation (WIP) Template Manager Template Manager Configuration
Template Manager Configuration PDF Print E-mail
Documentation - Template Manager
Written by Administrator   
Monday, 17 September 2007 09:48

Like all the Manager plugins, the Template Manager has various options that can be configured. This is done in the Joomla! Administration section only, via the JCE Plugins List.

Common Options

The Template Manager Configuration contains many of the same options as all the other Manager plugins. For more information on these, see Setting Manager Configuration Options.

Template Manager Specific Options

Like most of the Manager plugins, the Template Manager also has a few unique configuration options.

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 <strong>Username : {$username}</strong> will become <strong>Username : Joe Blogs</strong>

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

 

Last Updated on Wednesday, 25 March 2009 16:27
 

Search

Your Account



Tweets

JCE

@joomlablogger This appears to be a Joomla! 1.7 to 2.5 upgrade issue, not a JCE one

by JCE