[TYPO3-dev] Untouched bug in Bugtracker

Georg Ringer mail at ringerge.org
Thu Aug 12 08:49:13 CEST 2010


Hi,

I agree with David that this is the wrong approach.
- If you are hardcoding the 12, you can also hardcode a condition for
the treelevel

- Returning something instead of nothing will lead to side effects as
suddently things like ifEmpty don't work anymore.

- TYPO3 and especially TS is already full of magic, don't add more. If
there is nothing available, there should be nothing returned. It would
be the same as
lib.fo = FILE
lib.fo.file = something/that/doesnt/exist.jpg
this will also return nothing if the path/file does not exist and not
any other "magic" image (*on default*).

Georg




More information about the TYPO3-dev mailing list