[TYPO3-english] Condition TS based on FCE in use

Joerg Wagner [DigiLog] news.netfielders.de at digilog.de
Mon Jan 19 16:17:52 CET 2009


Suggestion:
Call a specific TS block to render your FCE by defining a 
<TypoScriptObjPath> in the DS of the FCE.
This TS block is only executed for each instance of your FCE (which 
actually is "conditional").

Cheers, Jörg.


Bert Hiddink schrieb:
> Hello,
> 
> I created a specific FCE which shows a watermark behind a Content 
> Element (text, text/image).
> 
> In order to show the background-image, a created a TS-snippet for 
> Gifbuilder which produces the correct imaged and CSS on-the-fly for 
> showing the watermark. However, I would like this only to happen when 
> the customized FCE is used on a page, otherwise do nothing.
> 
> How could I set a condition in TS, depending the FCE in use?
> 
> Many thanks in advance!
> 
> Regards,
> -brt
> 
> 


More information about the TYPO3-english mailing list