Issue Feature Closed

#71343Allow fluid preview of CE to be defined by 'list_type' value as well

Viktor Livakivskyi 11/05/15, 12:20 updated 10/02/18, 11:29

Description

Hi,

  1. 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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.