Feature #23533
closed
TSConfig needs conditions for current page (backend)
Added by Stefan Neufeind about 14 years ago.
Updated over 13 years ago.
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
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.
Attached a revised patch which is a little cleaned up and now also makes the same condition available for the frontend as well.
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]
Committed to trunk rev 9106
Thanks for your contribution, Stefan!
- Target version deleted (
4.5.0)
Also available in: Atom
PDF