[TYPO3-core] RFC #15696: Feature: Implement conditions for current page (for use in the backend)

Steffen Ritter info at rs-websystems.de
Sat Oct 16 17:52:05 CEST 2010


Am 16.10.2010 17:45, schrieb Susanne Moog:
> Hey!
>
> This is a SVN patch request.
>
> Type: Feature
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=15696
>
> Branches:
> trunk
>
> Problem:
> 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 in the backend.
>
> Solution:
> Attached patch implements a condition against "page". It's usage of
> sub-properties mimics the use with "TSFE|...".
>
> Note:
> Original patch is from Stefan Neufeind, I just took it out of the
> bugtracker and did some CGL cleaning.
>
> How to test:
> (Example out of the bugtracker)
> mod.SHARED.colPos_list = 0
> [page|layout = 1]
> mod.SHARED.colPos_list = 1,0
> [global]
>
> Best regards,
>
> Susanne
+1 reading


More information about the TYPO3-team-core mailing list