Actions
Feature #71343
closedAllow fluid preview of CE to be defined by 'list_type' value as well
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2015-11-05
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:
Description
Hi,
#69459 brings nice functionality to define own previews of CEs straightforward via Fluid only. Unfortunately, it is not usable in majority of cases, when one need to create a custom preview for an own plugin.
All the plugins have same CType list, so the TSconfig for this would be:
mod.web_layout.tt_content.preview.list = EXT:my_ext/Resources/Private/Templates/Preview/List.html
And here comes a problem. As soon, as I add such line in one of my plugins, all previews of other plugins will be also rendered by this single template.
So, the request would be to extend the syntax in a way, that for 'list' an optional additional path element will be searched, which corresponds to 'list_type'.
For example:
mod.web_layout.tt_content.preview.list.myext_plugin = EXT:my_ext/Resources/Private/Templates/Preview/List.html
Actions