ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

AvailableClasses

Summary

Sets the available classes for XML tags of the "name_of_XML_tag" 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 "name_of_XML_tag" 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 "name_of_XML_tag" tags. Note that the classification of anchor tags and custom tags is not supported.

Extra ezoe settings for embed and embed-inline

If you want to limit the amount of AvailableClasses and/or CustomAttributes on relations per class identifier or content type (as defined by content.ini [RelationGroupSettings]), you can do the following:

Note: These settings also needs to be defined in [embed] or [embed-inline] for eZ Publish.

Limiting AvailableClasses

Pattern for content type: [<tag>-type_<content-type>]

This examples demonstrates limiting AvailableClasses list in editor when editing embed tags with a relation to a object of content type image.

[embed-type_images]
AvailableClasses[]
AvailableClasses[]=blue_border
AvailableClasses[]=dropp_down_shadow

Pattern for class identifier: [<tag>_<class_identifier>]

This example removes class list on embed-inline flash objects

[embed-inline_flash]
AvailableClasses[]

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

Svitlana Shatokhina (02/07/2007 1:20 pm)

Sarah Haïm-Lubczanski (01/07/2014 2:04 pm)

Svitlana Shatokhina, Sarah Haïm-Lubczanski


Comments

There are no comments.