Hallo Gemeinde
Vieleicht kann mir hier mal jemand helfen....
Wie ich's auch drehe und wende wird mein Stylesheet
einfach nicht korrekt eingebunden.
Das heisst im Quellcode der Seite ist der Link mit drin:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!--
This website is brought to you by Typo3 - get.content.right
Typo3 is a free open source Content Management Framework
created by Kasper Skaarhoej and licensed under GNU/GPL.
Information and contribution at http://www.typo3.com
--><link rel="stylesheet" href="fileadmin/temp-peay/stylesheet.css">
<title>Home</title>
Aber die definitionen im stylesheet werden nicht umgesetzt.
Mein Source code vom template schaut so aus:
<html>
<head>
</head>
<body>
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center">
<colgroup>
<col width="200">
<col>
<tr>
<td colspan="2">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>HIER IST DIE BANNER DEFINITION.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="200">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="menu_left">
</td>
</tr>
</table>
</td>
<td valign="top" width="550">
<table width="550" border="0" cellspacing="0" cellpadding="0">
<tr>
<td id="content">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="200">
</td>
<td valign="top" width="550">
</td>
</tr>
</col>
</col>
</table>
</body>
</html>
und mein TS kommt folgendermassen daher:
# Configure the Auto Parser
plugin.tx_automaketemplate_pi1 {#read template file
content = FILE
content.file = fileadmin/temp-peay/template.html#wrap of html tag
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODYHEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = titleTD.all = 1
}#prefix for rel path
relPathPrefix = fileadmin/temp-peay/}
#menu_left object
temp.menu_left = HMENU#1st level menu
temp.menu_left.1 = TMENU
temp.menu_left.1 {#normal state
NO.allWrap = <div class="menu_level1-no"> | </div>#active start
ACT = 1
ACT.allWrap = <div class="menu_level1-act"> | </div>}
#2nd level menu
temp.menu_left.2 = TMENU
temp.menu_left.2 {#normal state
NO.allWrap = <div class="menu_level2-no"> | </div>#active start
ACT = 1
ACT.allWrap = <div class="menu_level2-act"> | </div>}
#3rd level menu
temp.menu_left.3 = TMENU
temp.menu_left.3 {#normal state
NO.allWrap = <div class="menu_level3-no"> | </div>#active start
ACT = 1
ACT.allWrap = <div class="menu_level3-act"> | </div>}
#main temp cObject for body
temp.mainTemplate = TEMPLATE
temp.mainTemplate {#feeding the content
template =< plugin.tx_automaketemplate_pi1#select only content for body tag
workOnSubpart = DOCUMENT_BODY#define the menu_left subpart
subparts.menu_left < temp.menu_left#define the content subpart
subparts.content < styles.content.get
subparts.content = CONTENT
subparts.content.table = tt_content
}#main template for head
temp.headTemplate = TEMPLATE
temp.headTemplate {#define the autoparser for template
template =< plugin.tx_automaketemplate_pi1#select only the content for head-tags
workOnSubpart = DOCUMENT_HEADER}
#default pate object
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/temp-peay/stylesheet.css#copy the content from template to body
page.10 < temp.mainTemplate#copy the content from template to head
page.headerData.10 < temp.headTemplate
Im Include Static ist "CONTENT" ausgewählt und unter Constants habe ich
"content.stylesheet.file = fileadmin/temp-peay/stylesheet.css"
auch mal eingetragen.
Vermutlich ist's ja was dummes aber ich komm einfach nicht dahinter..... :o
Thanks