TextCMS Documentation - Internal Plugins - TEMPLATE

Plugin Description

The following parameter in "config.cfg" sets the main template used on your web site:

<?php

...
TEXTCMS::SetTemplate ( "default" );
...

?>

You can override this setting for a particular article using plugin TEMPLATE. The syntax of the plugin is: [TEMPLATE](your_template_name)[/TEMPLATE]. For example if you want to use template "another" (located at "_templates/another.tpl") place the following line anywhere in the article: [TEMPLATE]another[/TEMPLATE]

Plugin Usage

This plugin can only be used in articles.

Articles
Templates
Modules
Areas

Attributes

This plugin does not support attributes.

Styling

This plugin does not support plugin-specific styling.

Example

[TEMPLATE]another[/TEMPLATE]
(c) 2018-2024 TextCMS