[TYPO3] Ommit empty headers when printing

PEF xx at xx.xx
Sun May 4 10:04:39 CEST 2008


Hi,

When printing a page, I want to omit the h1-tag wrapped around the header, if the header is empty. I've tried to do it 
by adding some lines to the typoscript in the fce-ds - but without success.

I've tried something like this...

<TypoScript>
	<![CDATA[
	10= RECORDS
	10.source.current=1
	10.tables = tt_content
	10.conf.tt_content < tt_content
	10.conf.tt_content {
		text.10.10 {
			1.fontTag = <h1 style="display: none;">|</h1>
			???
			???
		}	
	}	
	]]>
</TypoScript>

... but as You can see, I need something to test, if the header is empty and page type equals 98.

Any suggestion will be appreciated.

Regards
Peter Falk


More information about the TYPO3-english mailing list