[Typo3-UG Oesterreich] typo3 3.7 problem mit templavoila menü

Anton Pirker typo3 at gmiatlich.net
Fri Dec 24 16:55:37 CET 2004


hallo leute!

mein menü unter typo3 3.7.0 mit templavoila 0.3.0 wird nicht angezeigt.

das template an sich funktioniert, den content bekomm ich ins frontend.
das dummy-menü aus dem template wird auch ersetzt (durch nichts)

ich hab mich an das "futuristic template building" gehalten.
in meinem storage folder hab ich ein TO und DS angelegt.
im template object hab ich mir ein element vom typ "Element" angelegt, 
dieses
hab ich dann auf das DIV für das menü im mode "*:inner" gemappt.
Object Path hat das Element "lib.mainMenu" (die ID vom DIV ist auch 
"mainMenu")

nun nab ich eine page names "work" (ist nicht die root-page)
im Setup vom template der page "work" ( template -> work )
hab ich folgendes stehen:

# Menu 1 cObject
lib.mainMenu = HMENU
 # First level menu-object, textual
lib.mainMenu.1 = TMENU

lib.mainMenu.1 {
   # Normal state properties
 NO.allWrap =  |
 NO.stdWrap.htmlSpecialChars = 1
 NO.ATagParams= class="blackLink"

   # Enable active state and set properties:
 ACT = 1
 ACT.stdWrap.htmlSpecialChars = 1
 ACT.allWrap =<span class="selectedMenuEntry"> | </span>
}


# Default PAGE object:
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page



im DO des TemplaVoila steht folgendes:

         <field_mainmenu type="array">
               <tx_templavoila type="array">
                   <title>Main menu</title>
                   <description>Map element to Html element including 
Dummy menu</description>
                   <sample_data type="array">
                       <numIndex index="0">[dynamisches 
Hauptmenue]</numIndex>
                   </sample_data>
                   <eType>TypoScriptObject</eType>
                   <tags>*:inner</tags>
                   <eType_EXTRA type="array">
                       <objPath>lib.mainMenu</objPath>
                   </eType_EXTRA>
                   <TypoScriptObjPath>lib.mainMenu</TypoScriptObjPath>
               </tx_templavoila>
           </field_mainmenu>


im templavola hab ich beides
 x) enable the classic page module UND
 x) enable page template selector
angekreuzelt. kann das zu problemen führen?


ich hab damit jetzt schon länger herumgespielt und finde einfach den 
fehler nicht.
wär super, wenn mir jemand einen tipp geben könnte!


danke schonmal im voraus,
grüße aus dem verschneiten rauris
Anton




More information about the TYPO3-at mailing list