TextCMS Documentation - Internal Plugins - AREA

Plugin Description

Areas are located in folder "_areas". They have "are" extension. Areas are usually used in templates to specify where common web site elements are located. You can embed an area into a template using plugin AREA. The syntax of the plugin is: [AREA](area_name)[/AREA].

Plugin Usage

This plugin can be used everywhere, but we only recommend to use it in templates:

Articles
Templates
Modules
Areas

Attributes

This plugin does not support attributes.

Styling

This plugin generates the following wrapping DIV elements available for styling:

areaWrapping element for all areas
area_(area_name)Wrapping element for individual area

Example

<style>
div.area
{
	font-size: 64px;
}
div.area_top
{
	color: #00ff00;
}
div.area_bottom
{
	color: #ff0000;
}
</style>

[AREA]top[/AREA]
[AREA]bottom[/AREA]
(c) 2018-2024 TextCMS