is-up-to-date: | True |
---|---|
last-updated: | 4.0.0 |
The Content Type Editor Config configuration file defines what tools are available in the Content Type Editor.
This configuration is unique in that a configuration file exists in the following location of
each project: SITENAME/config/studio/administration/site-config-tools.xml
To modify the Content Type Editor Config configuration, click on |projectTools| from the bottom of the Sidebar, then click on Configuration and select Content Type Editor Config from the list.
Here is a sample Content Type Editor Config configuration file (click on the triangle on the left to expand/collapse):
Sample Content Type Editor Config configuration file
.. rli:: https://raw.githubusercontent.com/craftercms/studio/develop/src/main/webapp/repo-bootstrap/global/configuration/samples/sample-site-config-tools.xml :caption: *CRAFTER_HOME/data/repos/sites/SITENAME/sandbox/config/studio/administration/site-config-tools.xml* :language: xml :linenos:
/config/tools/tool/controls
- List of available content type form controls
/config/tools/tool/controls/control
- Control name (JavaScript control module name)
/config/tools/tool/datasources
- List of available datasources for content type form controls
/config/tools/tool/datasources/datasource
- Datasource name (JavaScript datasource module name)
/config/tools/tool/objectTypes
- List of available object types
/config/tools/tool/objectTypes/type
- Type configuration (Page or Component) - name, label, properties