alix
Joined: 05 Apr 2008 Posts: 1
|
Posted: 06 Apr 2008 - 4:43 pm Post subject:
a Horizontal menu
Subject description: probarly a wrong TypoScript |
|
|
Hi,
I have made 4 standart pages in typo3 backend, those 4 pages is ment for a horizontal menu. To do that i used TemplaVoila, with Templavoila i mappd the elements, in my case i mappd div indertedtabs
<div id="invertedtabs">
<ul>
<li ><a href="#"><span>HOME</span></a></li>
<li><a href="#"><span>ABOUT</span></a></li>
<li><a href="#" title="Revised"><span>CONTACTS</span></a></li>
<li><a href="#"><span>INFO</span></a></li>
<li><a href="#"><span>Portofolio</span></a></li>
</ul>
</div>
Then i wrote the folowing typoscript in setup section for the template that must genrate the horizontal menu.
| Quote: |
# Default PAGE object:
page = PAGE
page.10 = TEXT
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
page.includeCSS{
file1 = fileadmin/templates/css/layout.css
file1 {
title = MainStyle
media = all
}
}
lib.headerData.30 = COA
#Main Menu
lib.MainMenu = HMENU
lib.MainMenu.special = directory
lib.MainMenu.special.value = 45
lib.MainMenu = TMENU
lib.MainMenu {
expAll = 0
NO.ATagTitle.field = title
wrap = <ul>|</ul>
NO.wrapItemAndSub = <li>|</li>
ACT = 1
ACT.wrapItemAndSub = <li>|</li>
ACT.ATagTitle.field = title
}
|
but, is not working, it shows no menu, only the style. What am i doing wrong?
thanks in advance,
alix |
|