.. include:: ../Includes.txt
.. _users-manual-backendtemplate:
Backend Template
----------------
Each DCE has not only a template for the frontend output, but also for the backend output. Without a backend template
you will not be able to see differences in your content elements, in the page or list view.
DCE provides two ways to set up the backend template:
- Simple Backend View and
- Manual Backend Fluid template
Simple Backend View
===================
The Simple Backend View allows you to define fields you want to display, just by clicking it.
.. image:: Images/backend-view-simple.png
:alt: Simple Backend View for DCEs
This example looks like this in backend:
.. image:: Images/dce-container-in-backend.png
:alt: DCE Container when Simple Backend View is enabled
You can make some adjustments here, using PageTS.
.. code-block:: typoscript
tx_dce.defaults {
simpleBackendView {
titleCropLength = 10
titleCropAppendix = ...
imageWidth = 50c
imageHeight = 50c
}
}
Manual Backend Fluid Template
=============================
When you disable the Simple Backend View, you can enter (or reference to a file) a template using the "BackendTemplate"
Fluid layout, which has two sections: **header** and **bodytext**
.. code-block:: html
{dce.title}
Your backend template goes here...
.. note::
Currently, it is not possible to access to DCE container info in manual backend template.