Skip to the content
Documentation

AvailableClasses

No ratings yet

Summary

Sets the available classes for XML tags of the "paragraph" type.

Usage

AvailableClasses[]=class1

AvailableClasses[]=class2
...

Description

This setting makes it possible to specify which custom classes that can be used within XML tags of the "paragraph" type. It is an array of values that can be assigned to the "class" attribute of the XML tags. If empty, the system will not allow the use of classified "paragraph" tags. Note that the classification of anchor tags and custom tags is not supported.

Examples

Example 1

If you wish to use "pRed" and "pBlue" classified paragraphs in your XML blocks, make sure that the [paragraph] section in "content.ini.append.php" contains the following lines:

AvailableClasses[]
AvailableClasses[]=pRed
AvailableClasses[]=pBlue

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.