[TYPO3] Conditionally wrap CE header

Wester, Josh joshwester at creighton.edu
Tue Jun 19 00:33:13 CEST 2007


Dear List:

 

I am trying to conditionally wrap the content element headers based on
whether or not the header is empty via lib.stdheader. Needless to say, I
am stumped.

 

If header is empty, wrap it with <div class="empty_header">|<div>

If header is not empty, wrap it with <div
class="not_empty_header">|</div>

 

This seems to be similar to another earlier thread
(http://lists.netfielders.de/pipermail/typo3-english/2007-March/036734.h
tml), but I am evidently missing how to implement the "ifEmpty" piece
that Joey suggested.

 

Any help would be greatly appreciated as always.

 

Thanks,

 

Josh



More information about the TYPO3-english mailing list