[TYPO3-templavoila] How to test an empty container / section with TypoScript?
Dmitry Dulepov [typo3]
dmitry at typo3.org
Mon Sep 3 12:53:31 CEST 2007
Hi!
Olivier Schopfer wrote:
> Does anybody know a way to test if a section contains sub-items or not?
No, there is no way.
> I want to be able to hide the following list of links in case it's
> empty. I suppose that one could achieve that with a .if TypoScript
> condition. But how to access the subfields? And how to change the
> overall wrap of the section (I've tried to put some Typoscript at the
> level of the container, but it doesn't seem to work).
Bug report for it exists but not solved yet. It is difficult to solve
because requires passing a lot of information to recursive functions.
--
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
More information about the TYPO3-project-templavoila
mailing list