[TYPO3-dev] stdWrap for all TLO's

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Thu Feb 14 12:46:48 CET 2008


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




More information about the TYPO3-dev mailing list