[TYPO3] Head/body rendered twice

Christopher Torgalson bedlamhotel at gmail.com
Sat Jan 20 18:11:57 CET 2007


Hi,

On 1/20/07, Dan Frederiksen <dan at natteravnen.dk> wrote:
> Hello experts :o)
>
> I've set up a site according to the Modern Template building (section 1)
> - but my head and body-tag renders twice.
>

<snipped code>


By the looks of it, you've tried to include your own head section in
the HTML part of your template. By default, TYPO3 does this for you.
You have two choices:

1. Let TYPO3 output the head and control it with TS
Search the 'config' [1] section of the TSref for the various doctype,
xmlprologue options and the 'page' [2] section for 'headerData' and a
bunch of CSS-related options.

2. Prevent TYPO3 outputting the head at all
Search the 'page' section of the TSref for 'disableAllHeaderCode'

-- 
Christopher Torgalson

[1] http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/7/3/
[2] http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/7/5/


More information about the TYPO3-english mailing list