Customized Headers

TYPO3 rewrites the whole “head” part of your pages. If you wish to keep a few custom information, like CSS, JavaScript or comments, the easiest way is to use of the method described below.

Comments

config.headerComment (
    ======================================================
    Site design and TYPO3 integration by Xavier Perseguers
    ======================================================
)

CSS

page.includeCSS.file1 = fileadmin/templates/style_general.css
page.includeCSS.file2 = fileadmin/templates/style_menu.css

JavaScript

page.includeJS.file1 = fileadmin/templates/script.js
page.includeJS.file2 = fileadmin/templates/other-script.js

Full Custom Headers

page.headerData.10 = TEXT
page.headerData.10.value (
    <link rel="top"        href="/"         title="Home" />
    <link rel="contents"   href="/plan/"    title="Sitemap" />
    <link rel="stylesheet" href="my-style.css" type="text/css" />
)
Flattr