Feature #23533
closedTSConfig needs conditions for current page (backend)
0%
Description
It's been requested in several places/by several users to be able to use the current page in TSConfig-conditions. Usecase would for example be to set the colPos_list depending on the page-layout chosen. Currently such a condition is only possible by a condition involving TSFE, but that can't be used for conditions which should take place in the backend.
(issue imported from #M15696)
Files
Updated by Stefan Neufeind about 14 years ago
Attached patch implements a condition against "page". It's usage of sub-properties mimics the use with "TSFE|...".
Howto use the condition:
[page|layout = 1]
...
Or other things you'd want to ask the page about.
Updated by Stefan Neufeind about 14 years ago
Attached a revised patch which is a little cleaned up and now also makes the same condition available for the frontend as well.
Updated by Henrik Ziegenhain about 14 years ago
Hi Stefan,
thank you for your work.
I successfully tested your patch for layout-field as mentioned in your first note. Could you please send this to Corelist? Would be cool to have this in TYPO3 v4.5
btw: I used it this way
mod.SHARED.colPos_list = 0
[page|layout = 1]
mod.SHARED.colPos_list = 1,0
[global]
Updated by Steffen Gebert about 14 years ago
Committed to trunk rev 9106
Thanks for your contribution, Stefan!