[TYPO3] Problems with menu using TemplaVoila (TV)

Bjørn Dissing bumle90 at hotmail.com
Fri Aug 4 11:01:53 CEST 2006


Hello. I ran through the tutorial FTB -> 
http://typo3.org/documentation/document-library/tutorials/doc_tut_ftb1/current/view/1/2/

Everything went out fine, and menus appeared.

Now i am trying to do the same thing on my own site, but i have run into 
problems.
My template can be seen here
http://www.coachkontakt.dk/fileadmin/template/main/CK_template.html
I have in T3 defined the following page-structure
root page
   page1
   page2
   page3
   page4
   page5
   page6
   page7
   page8

I have created DS and TO which seems to be working fine. They are stored in 
a storage folder as in the tutorial.

I have also corrected the DS so that it now has
<TypoScriptObjPath>lib.left</TypoScriptObjPath>
to make it correspond to the left menu.
The TypoScript (TS) in my Template Record looks like :

# Menu 1 cObject

lib.leftmenu1 = HMENU
  # First level menu-object, textual

lib.leftmenu1.1 = TMENU
lib.leftmenu1.1 {
    # Normal state properties

  NO.allWrap =<li><img height="6" alt="boks" src="images/menuboks.gif" 
align="bottom"/>&nbsp;
   | </li>
  NO.stdWrap.htmlSpecialChars = 1
    # Enable active state and set properties:

  ACT = 1
  ACT.stdWrap.htmlSpecialChars = 1
  ACT.allWrap = =<li><img height="6" alt="boks" src="images/menuboks.gif" 
align="bottom"/>&nbsp;
   | </li>
}


# Menu 1 cObject

lib.leftmenu2 = HMENU
  # First level menu-object, textual

lib.leftmenu2.1 = TMENU
lib.leftmenu2.1 {
    # Normal state properties

  NO.allWrap =<li><img height="6" alt="boks" src="images/menuboks.gif" 
align="bottom"/>&nbsp;
   | </li>
  NO.stdWrap.htmlSpecialChars = 1
    # Enable active state and set properties:

  ACT = 1
  ACT.stdWrap.htmlSpecialChars = 1
  ACT.allWrap = =<li><img height="6" alt="boks" src="images/menuboks.gif" 
align="bottom"/>&nbsp;
   | </li>
}

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


As can be seen when the mainpage http://www.coachkontakt.dk is loaded the 
menu is blank.

I really cannot understand why, so that is why i am sending this question 
out. What am i missing? Why is my menu blank?

I want the first 5 pages to be in the upper menu, and the last 3 pages to be 
in the lower menu.

Maybe i have misunderstood something. I really hope someone can help me out 
a bit.

Many regards...

_________________________________________________________________
Få 250 MB gratis lagerplads på MSN Hotmail:  http://www.hotmail.com




More information about the TYPO3-english mailing list