Project

General

Profile

Actions

Feature #37356

closed

TS templates for content elements

Added by Urs Braem over 12 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-05-21
Due date:
% Done:

0%

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

Description

As discussed here http://groups.google.com/group/typo3-english/browse_thread/thread/e1913fbed44a0079/8866fc9f3cc6f660?q&pli=1, I would like to request the following feature:

Add a possibility to define specific TS for each content element in the backend (admin only).

Then add a selector field for editors to choose one from specific TS templates that would be applied to the current Content element only.

This would be a replacement for the - as I think, "workaroundish" - use of header_layout, section_frame or layout fields to add custom TS to a content element.

Instead of this:

tt_content.textpic.stdWrap.outerWrap.cObject=CASE
tt_content.textpic.stdWrap.outerWrap.cObject{
key.field = header_layout
default=TEXT
default.value=|
1=TEXT
1.value=<aside class="kasten">|</aside>
2=TEXT
2.value=<div class="narrow">|</div>
}

imgWidth=CASE
imgWidth{
key.field = header_layout
default=TEXT
default.value=520
1=TEXT
1.value=260
2=TEXT
2.value=160
}
tt_content.image.20.maxWInText.cObject < imgWidth
tt_content.image.20.maxW.cObject < imgWidth

it would be much nicer if the admin could just prepare some TS snippets like:

tt_content.textpic.stdWrap.outerWrap.cObject.value=<aside class="kasten">|</aside>
tt_content.image.20.maxWInText.value=260
tt_content.image.20.maxW.value = 260

and:

tt_content.textpic.stdWrap.outerWrap.cObject.value=<div class="narrow">|</div>
tt_content.image.20.maxWInText.value=160
tt_content.image.20.maxW.value = 160

which could be then assigned by the editor to the desired CEs in the Backend.

Actions

Also available in: Atom PDF