[TYPO3] [Typo3] Set default header type to "Layout 1" for first content element and "Layout 2" for the following
Tyler Kraft
headhunterxiii at yahoo.ca
Thu Aug 3 14:53:00 CEST 2006
assuming you've set up the ts for the header to be only rendered as
<h2>|</h2> (without other classes and wraps in there also ;-)
Matthew Manderson wrote:
>> Can I, via Typoscript, set the default header type to "Layout 1" for the
>> first content element on a page and to "Layout 2" for the following
>> content elements on a page?
>
> Yes, add this to your page template:
>
> content.defaultHeaderType = 2
>
> Using this your page HTML will render <h2> instead of the default <h1>
>
> Matthew
More information about the TYPO3-english
mailing list