I need to get the value of the field backend_layout in my fluid content element.
Via <f:debug /> I get the value in my page template, but not at the level of the content element.
I need to get the value of the field backend_layout in my fluid content element.
Via <f:debug /> I get the value in my page template, but not at the level of the content element.
On
try to set the following in setup typoscript for "page":
page {
# e.g. inside your page template "10"
10 = FLUIDTEMPLATE
10 {
# ...
variables {
# access this with {layout} in your fluid templates
layout = TEXT
layout {
data = levelfield:-2,backend_layout_next_level,slide
override {
field = backend_layout
}
}
}
}
}
The easiest way is to use the
vhsextension and the view helperv:page.infoavailable there or pass the variable somehow (TypoScript, register, etc.) down to your content elements.