Problem with condition [page|backend_layout = <value>] when inherited
When I use a inherited backend layout, the condition [page|backend_layout = <value>] does not work, because the actual field for this page is empty and it seams that inheritance isn't respected in this case.
[page|backend_layout = pagets__standard] AND [globalVar = GP:colPos==0]
...show specific elements in mod.wizards
As you can see in the attachment, the backend layouts are set for the current and the subpages. Everything is working as expected (the backend layout is used and displayed correctly in the backend), but the condition does not work.
Updated by Georg Ringer over 4 years ago
- Status changed from New to Closed
With this condition you are just checking for the current page row. you would need to check
you can also build conditions see https://docs.typo3.org/typo3cms/TyposcriptReference/Conditions/Reference/Index.html#userfunc
However take a look at
https://wiki.typo3.org/TYPO3.CMS/Releases/7.5/Feature#Feature:_.2369602_-_Simplify_handling_of_backend_layouts_in_frontend which might simplfy what you want to achieve.
Updated by Ben Robinson 8 months ago
The desired condition is available in a similar form from TYPO3 11 onwards
[tree.pagelayout == "pagets__Home"] page.1 = TEXT page.1.value = Layout Home [END]