Skip to the content
Documentation

AvailableDatatypes

No ratings yet

Summary

Sets the datatypes available to eZ publish.

Usage

AvailableDatatypes[]= datatype1

AvailableDatatypes[]= datatype2
...

Description

eZ publish will look for the datatypes in the directories specified by RepositoryDirectories and ExtensionDirectories.

Examples

ExtensionDirectory[]=my_extension
AvailableDatatypes[]=my_datatype

This example shows a typical configuration of content.ini.append in an extension with a datatype. If extensions are located in the "extension" directory (default) these settings will make eZ publish look for the datatype extension in the directory "/extension/my_extension/datatypes/my_datatype/".

Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Capital T

    Harry Oosterveen ·

    Both here, and in the 'eZ publish basics' book, it is consitently spelled with a lower case 't' in AvailableDatatypes. However, it should read 'AvailableDataTypes' with a capital 'T', see kernel/classes/ezdatatype.

Comments

Add a comment

Comments are read by a moderator before they appear.