Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

AvailableClasses

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

Ricardo Correia (20/02/2013 2:09 pm)

Ricardo Correia (20/02/2013 2:10 pm)


Comments

There are no comments.