Feature #90082
closedOption to change CE template in the backend via dropdown
0%
Description
Hi,
I wanted to change the layout of the standard content element Upload.html (in here https://github.com/TYPO3/TYPO3.CMS/tree/master/typo3/sysext/fluid_styled_content/Resources/Private/Templates) and that is possible by copy&paste the file into the own extension and then change the fluid code. However, this will change the Default layout so this change affects all content elements where the Upload.html file is used. Maybe I want 3 different layouts for the Upload.html and 2 different layouts for Table.html. That is currently only possible by using a condition inside the template file where I can check for the uid of the content element and then change the HTML/fluid code.
In extensions like EXT:news or EXT:sf_event_mgt you can add multiple template to change the appearence in the frontend. A simple change in the backend dropdown "Template-Layout" changes the appearence in the frontend. No editing of template files is necessary.
It would be good to have the same option already in the core for standard content elements as well.
It should be possible to define/add multiple layouts for each content element via Typoscript so that only templates for the Upload.html will be shown in the associated options. Bonus: maybe it's possible to use this feature for custom content elements like content elements created with EXT:mask.
Feature request for the core: A "template-layout" dropdown in the backend options of each content element.
best regards
Files