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].
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 |
This plugin does not support attributes.
This plugin generates the following wrapping DIV elements available for styling:
module | Wrapping element for all modules |
module_(module_name) | Wrapping element for individual module |
<style>
div.module
{
font-size: 64px;
}
div.module_date
{
color: #ff0000;
}
div.module_time
{
color: #00ff00;
}
</style>
[MODULE]date[/MODULE]
[MODULE]time[/MODULE]