Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 14.09.05, 10:41
Forum Newbie
 
Registriert seit: 05.09.05
Ort: Köln
Alter: 45
Beiträge: 32
zimboo eine Nachricht über MSN schicken

Leere, weiße Seite im FE // Wo liegt der Fehler???


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>
wie ihr sehen könnt ist der body-Bereich leer...
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
und so sieht der TypoScript Object-Browser aus:
Zitat:

[includeLibs]
[plugin]
[tx_automaketemplate_pi1]=USER
[userFunc]=tx_automaketemplate_pi1->main
[content]=FILE
[elements]
[relPathPrefix]=fileadmin/main/
[lib]
[tt_content]=CASE
[key]
[stdWrap]
[header]=COA
[text]=COA
[image]=COA
[textpic]=COA
[bullets]=COA
[table]=COA
[uploads]=COA
[multimedia]=COA
[mailform]=COA
[search]=COA
[login]=COA
[splash]=CASE
[menu]=COA
[shortcut]=COA[list]=COA
[script]=TEXT
[html]=TEXT
[default]=TEXT
[page]=PAGE
[10]=TEMPLATE
[template]=< plugin.tx_automaketemplate_pi1
[workOnSubpart]=DOCUMENT_BODY
[subparts]
[menu_1]=HMENU
[1]=TMENU
[2]=TMENU
[3]=TMENU
[content]=CONTENT
[table]=tt_content
[select]
[typeNum]=0
[headerData]
[10]=TEMPLATE
[template]=< plugin.tx_automaketemplate_pi1
[workOnSubpart]=DOCUMENT_HEADER
[resources]=
[sitetitle]=
[types]
Ich hoffe ich drücke mich verständlich genug aus :?:
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 14.09.05, 12:51
Forum Newbie
 
Registriert seit: 05.09.05
Ort: Köln
Alter: 45
Beiträge: 32
zimboo eine Nachricht über MSN schicken

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #3  
Alt 14.09.05, 17:12
Benutzerbild von Junior
TYPO3 Forum Team
Administrator
 
Registriert seit: 18.08.04
Ort: Zürich
Alter: 33
Beiträge: 2.814
Junior eine Nachricht über Skype™ schicken

:D
__________________
TYPO3forum.net empfiehlt Domain Factory als Hoster!


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ä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


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:56 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0