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 [DataTypeSettings]

The settings of [DataTypeSettings] in content.ini: RepositoryDirectories, ExtensionDirectories, AvailableDataTypes, UserDataTypes

Download as PDF

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

On this page

content.ini [DataTypeSettings]

The block [DataTypeSettings] of settings/content.ini, with 4 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).

RepositoryDirectories

A list of directories to check for datatypes

Default: a list of 1: kernel/classes/datatypes.

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

ExtensionDirectories

A list of extensions which have content object datatypes
It's common to create a settings/content.ini.append file
in your extension and add the extension name to automatically
get datatypes from the extension when it's turned on.

Default: an empty list.

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

AvailableDataTypes

Default: a list of 35: ezstring, eztext, ezxmltext, ezdate, ezdatetime, eztime, ezboolean, ezinteger, ezfloat, ezenum, ezobjectrelation, ezobjectrelationlist ....

<?php /* #?ini charset="utf-8"?
# settings/override/content.ini.append.php
[DataTypeSettings]
# an empty "AvailableDataTypes[]" first replaces the shipped list; without it the items are added
AvailableDataTypes[]
AvailableDataTypes[]=ezstring
AvailableDataTypes[]=eztext
AvailableDataTypes[]=ezxmltext
AvailableDataTypes[]=ezdate
AvailableDataTypes[]=ezdatetime
AvailableDataTypes[]=eztime
AvailableDataTypes[]=ezboolean
AvailableDataTypes[]=ezinteger
AvailableDataTypes[]=ezfloat
AvailableDataTypes[]=ezenum
AvailableDataTypes[]=ezobjectrelation
AvailableDataTypes[]=ezobjectrelationlist
AvailableDataTypes[]=ezimage
AvailableDataTypes[]=ezbinaryfile
AvailableDataTypes[]=ezmedia
AvailableDataTypes[]=ezauthor
AvailableDataTypes[]=ezurl
AvailableDataTypes[]=ezemail
AvailableDataTypes[]=ezoption
AvailableDataTypes[]=ezmultioption
# ... 15 more in the shipped file
*/ ?>

UserDataTypes

datatypes that hold user accounts
several actions on user account objects (removing, moving, etc.)
require clearing of the user policy cache

Default: a list of 1: ezuser.

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

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