Articles are located in folder "_articles". They have "art" extension. Most of the time you do not have to embed atricles anywhere. They are displayed automatically by TextCMS engine. Reusable content is usually stored in modules. But there are cases when you want to embed an article. In these cases you should use plugin ARTICLE. The syntax of the plugin is: [ARTICLE](article_name)[/ARTICLE].
This plugin can be used everywhere.
Articles | |
Templates | |
Modules | |
Areas |
This plugin does not support attributes.
This plugin generates the following wrapping DIV elements available for styling:
article | Wrapping element for all embedded articles |
article_(article_name) | Wrapping element for an individual embedded article |
<style>
div.article
{
font-size: 64px;
}
div.article_red
{
color: #ff0000;
}
div.article_green
{
color: #00ff00;
}
</style>
[ARTICLE]red[/ARTICLE]
[ARTICLE]green[/ARTICLE]