[Typo3] Reproduce "sitetitle: pagetitle" in typoscript
Sacha Vorbeck
sachav at gmx.net
Thu Feb 17 11:19:40 CET 2005
Hi,
> I'm sure
> there's a way to make Typo3 output these the way I want them, but finding
> out why would take much longer than simply putting them directly in the HTML
> template.
try this and your custom meta-tags to the page.headerData section:
###############################################
#generate xhtml-code
config.xhtml_cleaning = all
config.doctype = xhtml_strict
config.xmlprologue = none
config.htmlTag_langKey = en
config.metaCharset = utf-8
config.prefixLocalAnchors = all
###############################################
###############################################
#define 'page' as standard-PAGE object (type=0)
page = PAGE
page.typeNum = 0
#avoid default stylesheet
page.stylesheet >
page.config.disableAllHeaderCode = 0
page.headerData.5 = TEXT
page.headerData.5.value (
<script src="fileadmin/layout/designvorlagen/js/hide.js"
type="text/javascript"></script>
<link rel="stylesheet"
href="fileadmin/layout/designvorlagen/styles/nn4.css" type="text/css"
title="nn4" />
<style type="text/css" media="screen,projection">
<!--
@import url(fileadmin/layout/designvorlagen/styles/main.css);
@import url(fileadmin/layout/designvorlagen/styles/navi.css);
-->
</style>
<link rel="stylesheet" type="text/css" media="screen,projection"
title="default" href="fileadmin/layout/designvorlagen/styles/boxes.css" />
<link rel="alternate stylesheet" type="text/css"
media="screen,projection" title="notopbox"
href="fileadmin/layout/designvorlagen/styles/notopbox.css" />
<link rel="alternate stylesheet" type="text/css"
media="screen,projection" title="norightbox"
href="fileadmin/layout/designvorlagen/styles/norightbox.css" />
<link rel="alternate stylesheet" type="text/css"
media="screen,projection" title="noboxes"
href="fileadmin/layout/designvorlagen/styles/noboxes.css" />
<link rel="stylesheet" type="text/css" media="print"
href="fileadmin/layout/designvorlagen/styles/print.css" />
)
page.config.index_enable = 1
page.bodyTag = <body id="startseite">
###############################################
--
hth,
Sacha
More information about the TYPO3-english
mailing list