#77994cObject RECORDS - conf property problem with plugins
Description
This is probably also true for cObject CONTENT
If you want to modify rendering of a tt_content based content rendered by RECORDS, it will not work if you base it upon the tt_content cObject:
For example:
test = RECORDS
test.source = {someId}
test.tables = tt_content
test.conf.tt_content < tt_content
test.conf.tt_content.list.20.cal_controller.some_property = 123
I think the reason is the way the plugin it self is rendered with fluid_styled_content here:
/var/www/typo3sources/typo3_src-7.6.7/typo3/sysext/fluid_styled_content/Resources/Private/Templates/List.html
I found another way which works:
tt_content.list.20 = CASE
tt_content.list.20.key.field = list_type
tt_content.list.variables {
plugin = < tt_content.list.20
}
and then add the {plugin} variable to the above mentioned template instead of using the f:cObject viewhelper:
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="HeaderContentFooter" />
<f:section name="content">
{plugin -> f:format.raw()}
</f:section>
</html>Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 2
-
Wouter Wolters changed removed the assignee 09/19/16, 18:54
-
Georg Ringer commented and changed status
NewClosed 06/07/24, 06:19
thanks for creating the issue. as it is quite old and a lot happened in the last 7 years und I don’t know about any other issues in this area, I am closing this issue.
feel free to open a new issue if still relevant for you in v12