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.
![Simple Backend View for DCEs](../_images/backend-view-simple.png)
This example looks like this in backend:
![DCE Container when Simple Backend View is enabled](../_images/dce-container-in-backend.png)
You can make some adjustments here, using PageTS.
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
<f:layout name="BackendTemplate" />
<f:section name="header">
<strong>{dce.title}</strong><br>
</f:section>
<f:section name="bodytext">
Your backend template goes here...
</f:section>
Note
Currently, it is not possible to access to DCE container info in manual backend template.