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.phpfor every siteaccess,settings/siteaccess/<siteaccess>/content.ini.append.phpfor one siteaccess,extension/<extension>/settings/content.ini.append.phpin 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.
# 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.
# 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 ....
# 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.
# settings/override/content.ini.append.php
[DataTypeSettings]
# an empty "UserDataTypes[]" first replaces the shipped list; without it the items are added
UserDataTypes[]
UserDataTypes[]=ezuser
*/ ?>Related
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.