Zum Inhalt springen

zweisprachiges Menü

Erstellt am 6. Juni 2009 · 1 Antwort · letzte Antwort am 13. Juli 2009

Tags: Templates & Layouts, Frage

crossl ·

Ich mache gerade eine Typo3 4.x Seite, mit 2 Sprachen - englisch und deutsch.
Dabei sollen auf jeder Seite links das deutsche Menü (MENUE_LI) und rechts neben dem Content (INHALT) das englische Menü (MENUE_RE) stehen.

Aber ich weiss nicht wie - folgendes TS Code zeigt Aufbau und Marker:

page.10 = TEMPLATE
page.10{
    template = FILE
    template.file = fileadmin/templates/template.html
    workOnSubpart = DOKUMENT


	#Seiteninhalt einlesen
	marks {
		INHALT<styles.content.get


	 # Menü 
        MENUE_LI = HMENU
            MENUE_LI {
                 entryLevel = 0
                  1 = GMENU
                  1.noBlur=1
                  1.NO = 1
                  1.NO {
                        XY=[20.w]+11,25
                    20=TEXT
                    20.text.field=title
		    20.fontFile=fileadmin/fonts/arial.ttf
                    20.fontColor=#000000
                    20.text.case = upper
                    20.fontSize=11
                    20.offset=0,12
                    wrap=|   
                   }
                        1.RO < .1.NO
                        1.RO {
				
                                20.fontColor=#e5eff6
                        }
                        1.ACT < .1.NO
                        1.ACT {
				backColor=#e5eff6
                                20.fontColor=#000000
                                20.text.wrap=>>&#32;
                        }
                }
        MENUE_RE = HMENU
            MENUE_RE {
                 entryLevel = 0
                  1 = GMENU
                  1.noBlur=1
                  1.NO = 1
                  1.NO {
                        XY=[20.w]+11,25
                    20=TEXT
                    20.text.field=title
		    20.fontFile=fileadmin/fonts/arial.ttf
                    20.fontColor=#000000
                    20.text.case = upper
                    20.fontSize=11
                    20.offset=0,12
                    wrap=|   
                   }
                        1.RO < .1.NO
                        1.RO {
				
                                20.fontColor=#e5eff6
                        }
                        1.ACT < .1.NO
                        1.ACT {
				backColor=#eeffee
                                20.fontColor=#000000
                                20.text.wrap=>>&#32;
                        }
                }

	}
}

Wer kann mir da weiterhelfen?