[TYPO3-core] RFC #15696: Feature: Implement conditions for current page (for use in the backend)
Susanne Moog
info at susannemoog.de
Sat Oct 16 17:45:22 CEST 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15696_v3.diff
Type: text/x-patch
Size: 3010 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101016/8f28be16/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15696_doc.txt
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101016/8f28be16/attachment.txt>
More information about the TYPO3-team-core
mailing list