[TYPO3-UG Dutch] 2 menu's / pagetree / typoscript

inigo grimbergen grimb at live.nl
Fri Apr 25 13:08:57 CEST 2008


Update: 
 
ik schreef relevante typoscript maar dat was niet waar. Heb ontdekt:
 
# Main TEMPLATE cObject for the BODYtemp.mainTemplate = TEMPLATEtemp.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 ###link_1### subpart with dynamic menu: subparts.link_1 < temp.menu_1  # Substitute the ###content### subpart with some example content: subparts.content < styles.content.get}
Dat dit wel erg belangrijk is. Nu heb ik dus deze pagetree 
-homepage-contact-nieuwsbrief
in mijn tweede menu. 
 
Moet ik naar een paginaid gaan verwijzen o.i.d.? Want wat is temp.menu_1
 
wordt vervolgd
 
grt i.
 



 > Hi lijst> > Deze beginner heeft documentatie gelezen en is enthousiast begonnen met het verbouwen van het voorbeeld HTML template. Gaat goed maar… > Er zit maar 1 menu in en ik wil er 2. Ik ben al een heel eind maar krijg menu 2 niet dynamisch gelinkt.> > Vraag: moet ik mijn pagetree aanpassen of moet ik een wijziging in typoscript maken? > En zo ja welke?> > > Dit is mijn pagetree op dit moment:> > -globe> -root level> -homepage> -contact> -nieuwsbrief> -link1> -link2> > > En dit de relevante typoscript:> > # Menu 1 cObject> temp.menu_1 = HMENU> # Menu-object, textual> temp.menu_1.1 = TMENU> temp.menu_1.1 {> # Normal state properties> NO.allWrap = <li class="menu1-level1-no"> | </li>> # Enable active state and set properties:> ACT = 1> ACT.allWrap = <li class="menu1-level1-act"> | </li>> }> > # Menu 2 cObject> temp.menu_2 = HMENU> # Link-object, textual> temp.menu_2.1 = TMENU> temp.menu_2.1 {> # Normal state properties> NO.allWrap = <div class="link1-no"> | </div>> # Enable active state and set properties:> ACT = 1> ACT.allWrap = <div class="link1-act"> | </div>> }> > Alle schuine pagina’s worden correct dynamisch gerendered (menu 1 dus) de links (menu 2) nog niet. > > Ter info: de verwijzingen naar de HTML pagina kloppen (da’s valkuil nummer 1 natuurlijk) > Ter info: alle schuine items zijn één level van gelijke prioriteit en alle items “link” zijn ook van gelijke prioriteit onderling. Twee categorieën items.> > Alvast bedankt> > Grt I.> > _________________________________________________________________> Jouw nieuws en entertainment, vind je op MSN.nl!> http://nl.msn.com/ > _______________________________________________> TYPO3-UG-dutch mailing list> TYPO3-UG-dutch at lists.netfielders.de> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
_________________________________________________________________
Check je Hotmail nu ook op je mobiel!
http://windowslivemobile.msn.com/BrowserServiceHotmail.aspx?lang=nl-nl


More information about the TYPO3-UG-dutch mailing list