TextCMS Documentation - Internal Plugins - MODULE

Plugin Description

Modules are located in folder "_modules". They have "mod" extension. Modules are usually used in areas to embed reusable content. You can embed an module into an area using plugin MODULE. The syntax of the plugin is: [MODULE](module_name)[/MODULE].

Plugin Usage

This plugin can be used everywhere. It is usually used in areas, but it can also be used in articles, templates and even other modules:

Articles
Templates
Modules
Areas

Attributes

This plugin does not support attributes.

Styling

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

moduleWrapping element for all modules
module_(module_name)Wrapping element for individual module

Example

<style>
div.module
{
	font-size: 64px;
}
div.module_date
{
	color: #ff0000;
}
div.module_time
{
	color: #00ff00;
}
</style>

[MODULE]date[/MODULE]
[MODULE]time[/MODULE]
(c) 2018-2024 TextCMS