[Typo3] manipulate contentelements by TS

JoH info at cybercraft.de
Mon Nov 14 16:15:57 CET 2005


JoH wrote:
>>> "you want for each and every "Text w/image" and "image" element or
>>> if it is just used for special cases."
>>>
>>> Thats why I wanted to do the thing by an extension template for one
>>> special page, where thet template would work for the special page
>>> and all subpages.
>>>
>>> To answer your question, I want it to work just on special pages
>>> *not* global for all the sites.
>>
>> Only for special pages and only for text with image!
>> Thanks!
>>   =)
>
> OK - basically it's just emptying the original setup and then
> creating your own instead.
> But then again it's a bit tricky since we will be using the
> TS-Element TEXT to get the images out of the "image" field.

Forgot to tell you that this has to be written in the TS-Setup part of your
extension template.
Or (if you don't like extension templates) you could use a condition:

[globalVar = TSFE:id = 123]
#setup here
[global]

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list