Project

General

Profile

Actions

Feature #23533

closed

TSConfig needs conditions for current page (backend)

Added by Stefan Neufeind over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-09-13
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

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

tsconfig_for_page.patch (2.72 KB) tsconfig_for_page.patch Administrator Admin, 2010-09-13 17:07
tsconfig_for_page_v2.patch (3.21 KB) tsconfig_for_page_v2.patch Administrator Admin, 2010-09-13 17:13
15696_v3.diff (2.94 KB) 15696_v3.diff Administrator Admin, 2010-10-16 19:48
Actions #1

Updated by Stefan Neufeind over 13 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.

Actions #2

Updated by Stefan Neufeind over 13 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.

Actions #3

Updated by Henrik Ziegenhain over 13 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]

Actions #4

Updated by Steffen Gebert over 13 years ago

Committed to trunk rev 9106

Thanks for your contribution, Stefan!

Actions #5

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF