![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
Hallo Community, erstmal "entschuldigung" !! Aber ich finde kein "richtiges" Forum für meine Frage, darum poste ich diese einmal hier... :? Hat ja im weitesten Sinne ein wenig mit "Installation" zu tun, da ich als Typo3-Totaaal-Beginner mich ja noch durch die Tuts wurschtel 8)... Aber nun zu meinem Problem: Ich arbeite das Tutorial "Moderne Templateerstellung Teil 1" durch was soweit auch super gut und verständlich war. Aber nun bin ich an dem Teil angekommen wo "alles zusammengesetzt werden soll, und bekomme plötzlich nur noch eine leere weiße Seite angezeigt... Der Quellcoder der Seite sieht so aus: Code: <!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!--
This website is brought to you by TYPO3 - get.content.right
TYPO3 is a free open source Content Management Framework created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2005 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://www.typo3.com
-->
<title>DRK KV Köln</title>
<meta name="generator" content="TYPO3 3.8 CMS" />
<script type="text/javascript">
/*<![CDATA[*/
<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
// Blurring links:
function blurLink(theObject) { //
if (msie4) {theObject.blur();}
}
// -->
/*]]>*/
</script>
</head>
<body bgcolor="#FFFFFF">
</body>
</html> So sieht mein TypoScript aus: Code: # Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/main/template_1.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/main/
}
# Menu 1 cObject
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
# Normal state properties
NO.allWrap = <div class="menu1-level1-no"> | </div>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
ACT.stdWrap.htmlSpecialChars = 1
}
# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
# Normal state properties
NO.allWrap = <div class="menu1-level2-no"> | </div>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level2-act"> | </div>
ACT.stdWrap.htmlSpecialChars = 1
}
temp.menu_1.3 = TMENU
temp.menu_1.3 {
# Normal state properties
NO.allWrap = <div class="menu1-level3-no"> | </div>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level3-act"> | </div>
ACT.stdWrap.htmlSpecialChars = 1
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menu_1### subpart with dynamic menu:
subparts.menu_1 < temp.menu_1
# Substitute the ###content### subpart with some example content:
subparts.content < styles.content.get
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate Zitat:
Könnt ihr mir weiterhelfen??? Ich danke Euch schonmal im voraus Grüße aus Köln Jörg
__________________ Dummy-3.8.0 Win XP Pro SP2 Apache 2.0.46 MySQL 4.0.13 PHP 4.3.2 |
|
#2
| |||
| |||
| oohhhhhh Gotttttttt :oops: :oops: :oops: Sorry Leute, aber wenn man den Quellcode des HTML-Templates nicht richtig schreibt, braucht man sich nicht zu wundern, dass es nich klappert... Wenn man einen Head-Tag komplett vergisst kanns ja auch nicht mit der Site funktionieren... Entschuldigt - aber manchmal hat man halt Tomaten auf den Augen. Nun funzt es. Trottzdem Danke für eure "moralische" Unterstützung :lol: Gruß aus Köln Jörg
__________________ Dummy-3.8.0 Win XP Pro SP2 Apache 2.0.46 MySQL 4.0.13 PHP 4.3.2 |
|
#3
| ||||
| ||||
| :D |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Weiße Seite | Schwecki | TemplaVoila | 1 | 29.02.08 12:56 |
| t3d import - weiße Seite | lolek | TYPO3 4.x Fragen und Probleme | 3 | 11.11.07 20:49 |
| Weiße Seite | Raptorcss | TYPO3 3.x Fragen und Probleme | 4 | 30.10.07 18:24 |
| Weiße FE- Seite | MrTimbo | TYPO3 4.x Fragen und Probleme | 9 | 23.10.07 11:39 |
| Nur erster Record wird ausgegeben, wo liegt der Fehler? | mstuebner | Extension modifizieren oder neu erstellen | 1 | 27.11.06 21:14 |