[TYPO3-english] Conditionnal display of a content element

Stefan Reichelt eichelt at web.de
Tue Mar 12 20:31:46 CET 2013


Hello aliasjcdenton,

On 12/03/2013 16:01, aliasjcdenton at sunrise.ch wrote:
> How can I do ?

This might work:
source.stdWrap.ifEmpty = 587

Generally many objects and properties only have some of the stdWrap
properties and functions inherited but most of them always have the
whole of stdWrap as itself too.

Anyway, this should solve the problem that if current is empty then your
object with id 587 is used instead but that does not account for child
pages. What exactly should be done if the page is empty AND child
pages are present?


Kind regards
Stefan


More information about the TYPO3-english mailing list