TextCMS Documentation - Internal Plugins - ARTICLES

Plugin Description

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].

Plugin Usage

This plugin can be used everywhere.

Articles
Templates
Modules
Areas

Attributes

This plugin does not support attributes.

Styling

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

articleWrapping element for all embedded articles
article_(article_name)Wrapping element for an individual embedded article

Example

<style>
div.article
{
	font-size: 64px;
}
div.article_red
{
	color: #ff0000;
}
div.article_green
{
	color: #00ff00;
}
</style>

[ARTICLE]red[/ARTICLE]
[ARTICLE]green[/ARTICLE]
(c) 2018-2024 TextCMS