[TYPO3-dev] stdWrap for all TLO's

Steffen Kamper steffen at sk-typo3.de
Thu Feb 14 12:48:59 CET 2008


"Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb im 
Newsbeitrag 
news:mailman.1.1202989595.10683.typo3-dev at lists.netfielders.de...
> Steffen Kamper schrieb:
>> "Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb 
>> im Newsbeitrag 
>> news:mailman.1.1202988131.5352.typo3-dev at lists.netfielders.de...
>>> Steffen Kamper schrieb:
>>>> - show Content (eg plugin.tt_news)
>>>> - if Content is empty show diffferent content
>>> stuff = TEXT
>>> stuff.cObject < plugin.tt_news
>>> stuff.ifEmpty = ...
>>>
>>>
>>> Masi
>>
>> tricky :-)
>
> How about that:
>
> stuff = TEXT
> stuff.cObject < plugin.tt_news
> stuff.append = LOAD_REGISTER
> stuff.append.myRegister.current = 1
>
> Now you can set or unset some other cObject with a clever combination of 
> ifEmpty/override/if.
>
> Masi

sure, that's possible, i never used the TEXT-object in this way. thx for 
this tip.
But this is really one for the "treasure chest" and not many people will 
know such technique.

vg Steffen 






More information about the TYPO3-dev mailing list