DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Generic marrkers for tt_news¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed by: | Philippe Moreau |
Changed: | 2010-05-31T13:53:51.060000000 |
Classification: | ttnewsgenericmarkers |
Keywords: | ts, tt_news, markers, extend tt_news |
Author: | Georg Ringer |
Email: | www.ringer.it |
Info 4: | |
Language: | en |
Element-basedtyposcript- qm_percontenttsElement-based
typoscript
Element-based typoscript¶
Extension Key: qm_percontentts
Language: en
Keywords: ts, typoscript, content, element, tt_content
Copyright 2010, Philippe Moreau, <www.qcmedia.ca>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.org
Table of Contents¶
`Introduction 3 <#__RefHeading__505_1951226049>`_
`Users manual 4 <#__RefHeading__511_1951226049>`_
`To-Do list 5 <#__RefHeading__559_1951226049>`_
`Test more 5 <#__RefHeading__561_1951226049>`_
`Known problems 6 <#__RefHeading__563_1951226049>`_
`ChangeLog 7 <#__RefHeading__515_1951226049>`_
Introduction¶
What does it do?¶
This extension provides a simple textarea that is added to the flexform of each content element to redefine the typoscript associated with this element. This allows easy per-element tt_content setup change.
The objective is to make TYPO3 easily adaptable to any sort of design that wasn't primarly designed for use in TYPO3. Instead of modifying the CSS to adapt to TYPO3's output, it is simpler with this to customize how each element is rendered.
The extension also provide another input for quickly wrapping a content element inside a div with a custom class name.
This is still experimental but has worked with all tests made so far. Please contact us if you find bugs.
Users manual¶
This extension is meant for people with typoscript knowledge.
Installation¶
To install, please follow these steps:
Install from TER
Include the static template “Content wrapper with class” that is provided
How to use¶
Once installed, you will see two new fields inside your content element form.
The first one simply provides a quick way of adding a wrapper div around the whole element with the specified class. If left blank, no wrapper is added.
The second field is the interesting one. It allows you to modify the typoscript associated with this element. Here is an example:
Let's say you have a “Text with images” element. By default, this wrapper is added around all your images: <div class="csc-textpic- imagewrap"> | </div>. Now, this wrapper screws up your design and you want to remove it. So in the new field “typoscript change for this element”, you write:
tt_content.textpic.20.imageStdWrap.wrap = |
And it's gone, only for this specific content element!
Basically, you can modify anything inside the tt_content setup.
To-Do list¶
Test more