Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 01.10.07, 17:13
Forum Aktivist
 
Registriert seit: 28.08.07
Beiträge: 60

Menü Problem


Hi,

ich grabe mich gerade in TYPO3 ein und habe ein Problemchen:

habe einen Navigationsbereich in meinem Template definiert (###navigationleft###)

und folgendes gecoded (als Template für meine root-Seite:sad:

Typoscript-Code:
1:
2:
3:
4:
marks.navigationleft = HMENU
marks.navigationleft.entryLevel = 0
marks.navigationleft.1 = TMENU
marks.navigationleft.1.NO = 1

Aber verdammte Hulle, das einzige was Angezeigt wird ist:
###navigationleft### und nicht das Text Menü. Habe ich irgendwas falsch gemacht oder vergessen?

Danke an
Filterman



//EDIT von MistaD
Code in den passenden Code-Container geschubst!

Geändert von MistaD (01.10.07 um 17:53 Uhr).
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 01.10.07, 17:38
Forum Stammgast
 
Registriert seit: 02.03.06
Beiträge: 132

hallo,

ich kann an dem was du geschickt hats keine fehler finden. Vielleicht woanders ? Kannst du dein gesammtes TS schicken?

Lieben gruß
Tevsa
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 01.10.07, 17:45
Forum Aktivist
 
Registriert seit: 28.08.07
Beiträge: 60

Danke für deine Hilfe hier der Code:
Muß ich neben den Seite etwa noch einen Content erzeugen? Nee oder?



# Default PAGE object:
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
page = PAGE
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/templates/sonic_.htm

page.10.workOnSubpart = BODY

page.10.marks.Content1 < styles.content.get
//page.10.marks.content2 < styles.content.get

marks.navigationleft = HMENU
marks.navigationleft.entryLevel = 0
marks.navigationleft.1 = TMENU
marks.navigationleft.1.NO = 1


//page.10.marks.navigationtop = HMENU

Und das steht in meinem Template (html)


HTML-Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Sonic_.gif</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css">td img {display: block;}</style> <!--Fireworks MX 2004 Dreamweaver MX 2004 target.  Created Mon Oct 01 14:25:21 GMT+0200 ( ) 2007--> </head> <body bgcolor="#ffffff">
###BODY###
<table border="0" cellpadding="0" cellspacing="0" width="900"> <!-- fwtable fwsrc="Sonic_.png" fwbase="Sonic_.gif" fwstyle="Dreamweaver" fwdocid = "811448924" fwnested="1" --> <tr> <td><img name="Sonic__r1_c1" src="fileadmin/templates/img/Sonic__r1_c1.gif" width="900" height="97" border="0" id="Sonic__r1_c1" alt="" /></td> </tr> <tr> <td width="900" height="21" border="0"> 
            ###navigationtop###
   </td> </tr> <tr> <td><img name="Sonic__r3_c1" src="fileadmin/templates/img/Sonic__r3_c1.gif" width="900" height="218" border="0" id="Sonic__r3_c1" alt="" /></td> </tr> <tr> <td><table align="left" border="undefined" cellpadding="undefined" cellspacing="undefined" width="900"> <tr> <td><img name="Sonic__r4_c1" src="fileadmin/templates/img/Sonic__r4_c1.gif" width="106" height="437" border="0" id="Sonic__r4_c1" alt="" /></td> <td><table align="left" border="undefined" cellpadding="undefined" cellspacing="undefined" width="794"> <tr> <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="794"> <tr> <td><table align="left" border="0" cellpadding="0" cellspacing="0" width="148"> <tr> <td width="148" height="274" border="0">
                   ###navigationleft###
                   </td> </tr> <tr> <td><img name="Sonic__r5_c2" src="fileadmin/templates/img/Sonic__r5_c2.gif" width="148" height="131" border="0" id="Sonic__r5_c2" alt="" /></td> </tr> </table></td> <td><img name="Sonic__r4_c3" src="fileadmin/templates/img/Sonic__r4_c3.gif" width="9" height="405" border="0" id="Sonic__r4_c3" alt="" /></td> <td width="280" height="405" border="0">
               ###Content1###
               </td> <td width="280" height="405" border="0">
               ###content2###
               </td> <td><img name="Sonic__r4_c6" src="fileadmin/templates/img/Sonic__r4_c6.gif" width="77" height="405" border="0" id="Sonic__r4_c6" alt="" /></td> </tr> </table></td> </tr> <tr> <td><img name="Sonic__r6_c2" src="fileadmin/templates/img/Sonic__r6_c2.gif" width="794" height="32" border="0" id="Sonic__r6_c2" alt="" /></td> </tr> </table></td> </tr> </table></td> </tr> </table>
###BODY###
</body> </html>



//EDIT von MistaD
Code in die passenden Code-Container geschubst!

Geändert von MistaD (01.10.07 um 17:53 Uhr).
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
  #4  
Alt 01.10.07, 17:50
Forum Freak
 
Registriert seit: 26.01.07
Beiträge: 576

Da fehlt das page.10. vor den marks!
Typoscript-Code:
1:
2:
3:
4:
marks.navigationleft = HMENU
marks.navigationleft.entryLevel = 0
marks.navigationleft.1 = TMENU
marks.navigationleft.1.NO = 1
Das muss so heißen:
Typoscript-Code:
1:
page.10.marks.navigationleft = HMENU
__________________
mfg
Günni
City-Tiger - Online durch die Straßen tigern
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
  #5  
Alt 01.10.07, 17:53
Forum Stammgast
 
Registriert seit: 02.03.06
Beiträge: 132

Hallo,
setz mal : "page.10." vor deine "marks.navigationleft" .

Es ist auch sinnvoll (aber nicht nötig) das ganze zu klammern. So erspart man sich eine menge Tipparbeit.

Lieben gruß
Tevsa
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
  #6  
Alt 01.10.07, 18:00
Forum Aktivist
 
Registriert seit: 28.08.07
Beiträge: 60

Hi,

danke hat geklappt. Sorry für die Doofe FRage was heißt Klammer?

Bin Newbie
GRüße

AHHH hab es selber gerafft { dann brauch man nicht sig mal page.10 schreiben gell?
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
  #7  
Alt 01.10.07, 18:05
Forum Freak
 
Registriert seit: 26.01.07
Beiträge: 576

Unter Klammern kannst du dir folgendes Vorstellen:
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
page.10 {
marks {
navigationleft = HMENU
navigationleft.entryLevel = 0
navigationleft.1 = TMENU
}
}
Hier sparst du dir dann das andauernde schreiben von page.10
__________________
mfg
Günni
City-Tiger - Online durch die Straßen tigern
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
  #8  
Alt 01.10.07, 18:09
Forum Stammgast
 
Registriert seit: 02.03.06
Beiträge: 132
Daumen runter

Hallo in dem Kontext meinte ich da du nicht alles Auschreiben must. Die Obejekte, Die du benutzt must du nicht alle aufschreiben.
Statt also:
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
page = PAGE
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/templates/sonic_.htm

page.10.workOnSubpart = BODY

page.10.marks.Content1 < styles.content.get
//page.10.marks.content2 < styles.content.get

marks.navigationleft = HMENU
marks.navigationleft.entryLevel = 0
marks.navigationleft.1 = TMENU
marks.navigationleft.1.NO = 1


//page.10.marks.navigationtop = HMENU

Klammerst du dan ganze:
:
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
page = PAGE
page{
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/templates/sonic_.htm

10.workOnSubpart = BODY

10.marks.Content1 < styles.content.get
                //page.10.marks.content2 < styles.content.get
10.marks{
navigationleft = HMENU
navigationleft.entryLevel = 0
navigationleft.1 = TMENU
navigationleft.1.NO = 1
} //  10.marks              
} // page

Also überall wo du weist das das es "Unterobjekte" gibt setzt du eine geschweifte KLammer. Siehe am besten hier: Dokumentation

Lieben gruß
Tevsa
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
  #9  
Alt 01.10.07, 18:12
Forum Stammgast
 
Registriert seit: 02.03.06
Beiträge: 132

@gbauer: 2 doofe ein gedanke. *g*

Lieben gruß
Tevsa
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
Problem mit Menu Junilia TYPO3 4.x Fragen und Probleme 4 26.06.08 18:34
Menü Problem tpoppe GMENU, HMENU, TMENU und Co. 8 20.09.07 13:55
Sitemap Menü - Menü Problem tschinkes GMENU, HMENU, TMENU und Co. 0 01.03.07 14:38
Problem mit Menü bvoit GMENU, HMENU, TMENU und Co. 5 15.10.06 19:47
Menü und CSS Problem ernstle GMENU, HMENU, TMENU und Co. 4 04.08.06 14:33


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:15 Uhr.


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