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
Updated by Riccardo De Contardi almost 9 years ago
- Category set to Backend User Interface
- Target version set to Candidate for Major Version
Updated by Georg Ringer almost 7 years ago
- Is duplicate of Feature #79225: Make it possible to use fluid standalone templates for plugins as well added
Updated by Georg Ringer almost 7 years ago
- Status changed from New to Resolved
solved with #79225 since 8.6
Actions