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.

CustomAttributes

Summary

Sets which custom attributes that can be used within XML tags of this particular type.

Usage

 

CustomAttributes[]=attribute1
CustomAttributes[]=attribute2
...

Description

This setting makes it possible to specify which custom attributes that can be used within XML tags of the "name_of_XML_tag" type. (From 3.9, custom attributes are supported for all XML tags.) It is an array of custom attribute names. If empty, the system will not allow the use of custom attributes within XML tags of the "name_of_XML_tag" type.

Examples

Example 1

If you wish to use a specific summary field in your tables, you can add a custom attribute called "summary" to the "table" XML tag by adding the following lines to the [table] section of your "content.ini.append.php" file:

CustomAttributes[]
CustomAttributes[]=summary

 

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

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


Comments

There are no comments.