[TYPO3-templavoila] Content After the Templaviola header

Kay Strobach info at kay-strobach.de
Sat Sep 15 09:03:18 CEST 2007


Hallo guys,

i've a perhaps simple problem, which i can't solve:

on http://www.sn.schule.de/cms/ i created different templates with tv,
all these templates have different style definitions in the head, which
are enabled via tv

BUT I need 2 additional line after the headers which are inserted by tv

example:

the following lines should be the last content before the closing head-tag
________________________________________________________________________________

<link rel="stylesheet" type="text/css"
href="typo3temp/stylesheet_e99aac0be0.css" />
<link rel="stylesheet" type="text/css"
href="fileadmin/user/admin/layout/screen.css" media="screen" /><link
rel="stylesheet" type="text/css"
href="fileadmin/user/admin/layout/print.css" media="print" />
________________________________________________________________________________

but i got the following result:
________________________________________________________________________________

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!--
	This website is powered by TYPO3 - inspiring people to share!
	TYPO3 is a free open source Content Management Framework initially
created by Kasper Skaarhoj and licensed under GNU/GPL.
	TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are
copyright of their respective owners.
	Information and contribution at http://typo3.com/ and http://typo3.org/
-->

	<base href="http://www.sn.schule.de/cms/" />
	<link rel="stylesheet" type="text/css"
href="typo3temp/stylesheet_e99aac0be0.css" />
<link rel="stylesheet" type="text/css"
href="fileadmin/user/admin/layout/screen.css" media="screen" /><link
rel="stylesheet" type="text/css"
href="fileadmin/user/admin/layout/print.css" media="print" />
	<title>Gobale Vorlage: Übersichtsseite</title>
	<meta name="generator" content="TYPO3 4.1 CMS" />

	<script type="text/javascript"
src="typo3temp/javascript_ebd9c81938.js"></script>

<link rel="stylesheet" type="text/css"
href="fileadmin/templates/layout2/default.css" />

<link rel="stylesheet" type="text/css"
href="fileadmin/templates/layout2/screen.css" media="screen" />

<link rel="stylesheet" type="text/css"
href="fileadmin/templates/layout2/rte.css" media="screen" />

</head>
<body>
________________________________________________________________________________

my ts:
________________________________________________________________________________

page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
#page.includeCSS {
#    file1=fileadmin/templates/layout2/default.css
#    file1.media = all
#    file2=fileadmin/templates/layout2/screen.css
#    file2.media = screen
#    file3=fileadmin/templates/layout2/rte.css
#    file3.media = all
#    file4=fileadmin/templates/layout2/print.css
#    file4.media = print
#    file10={$usr_path}screen.css
#    file10.media = screen
#    file11={$usr_path}print.css
#    file11.media = print
#}
page.headerData.150000       = TEXT
page.headerData.150000.value = <link rel="stylesheet" type="text/css"
href="{$usr_path}screen.css" media="screen" />
page.headerData.150001       = TEXT
page.headerData.150001.value = <link rel="stylesheet" type="text/css"
href="{$usr_path}print.css" media="print" />
________________________________________________________________________________

the uncommented lines would solve the problem, if i have only one
template ...




many thank, regards

Kay Strobach


More information about the TYPO3-project-templavoila mailing list