Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

content.ini [EditSettings]

The settings of [EditSettings] in content.ini: ExtensionDirectories, AdditionalTemplates, AttributeTemplates

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/content/EditSettings.md

On this page

content.ini [EditSettings]

The block [EditSettings] of settings/content.ini, with 3 setting(s).

Never edit settings/content.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/content.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/content.ini.append.php for one siteaccess,
  • extension/<extension>/settings/content.ini.append.php in an extension (read when the extension is active).

ExtensionDirectories

A list of extensions containing custom content edit handlers.
These handler must be placed in : <extensions>/<extension-name>/content/<extension-name>handler.php
And contain a class called : <extension-name>Handler, with the function : fetchInput
This class must implement eZContentObjectEditHandler ( kernel/classes/ezcontentobjectedithandler.php )

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[EditSettings]
# an empty "ExtensionDirectories[]" first replaces the shipped list; without it the items are added
ExtensionDirectories[]
*/ ?>

AdditionalTemplates

A list of additional templates to include from content/edit.tpl template
For instance
AdditionalTemplates[]=content/edit/autosave.tpl
will trigger the inclusion of design:content/edit/autosave.tpl

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[EditSettings]
# an empty "AdditionalTemplates[]" first replaces the shipped list; without it the items are added
AdditionalTemplates[]
*/ ?>

AttributeTemplates

A list of templates to include in every field of the content edit form of the admin designs
(content/edit_attribute.tpl), with the field as $attribute and the variables of the edit form: right after the
field's label, or first in its block when the field has its own fieldset or is being translated. For the tools an
extension adds to a field (expai: content/edit/expai_attribute.tpl), so they are drawn with the page and the form
does not move when the scripts start.
AttributeTemplates[]=content/edit/myextension_attribute.tpl

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[EditSettings]
# an empty "AttributeTemplates[]" first replaces the shipped list; without it the items are added
AttributeTemplates[]
*/ ?>

Generated by ./console exp:help:examples from settings/content.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x