[TYPO3-english] Submenu problem

Philipp Gampe typo3.lists at philippgampe.info
Mon Jul 18 17:45:25 CEST 2011


Hi Arlo,
arlo wrote:

> my problem is I can not get submenu to work?

I guess you want to have a simple ul/li menu?

<ul>
<li>
page
<ul><li>subpage></li></ul>
</li>
</ul>

> I hope you can just help me on the road are new to typo3.
I'll try ;)

> I have the following code:
> 
> ## Menu [Begin]
> lib.mainMenu = HMENU
> lib.mainMenu.entryLevel = 0
entryLevel is eval...
use 
lib.mainMenu.special = 1
lib.mainMenu.special.value = ##your root page id##

> lib.mainMenu.wrap = <ul>|</ul>
> lib.mainMenu.1 = TMENU
> lib.mainMenu.1.NO {
>    allWrap = <li>|</li>
> }
> 
> lib.mainMenu.1.ACT = 1
> lib.mainMenu.1.ACT {
>    allWrap = <div id="myslidemenu" class=""jqueryslidemenu"></div>
> }
Now you configured your first level. Lets go one with the second (and 
third):
lib.mainMenu.2 < lib.mainMenu.1
# I guess you don't want to have those divs here again...
lib.mainMenu.2.ACT.allWrap = <li>|</li>
lib.mainMenu.3 < lib.mainMenu.2

done :)

> 
> config.spamProtectEmailAddresses = 1
> 
> page = PAGE
> page.typeNum = 0
> page.10 = USER
> page.10.userFunc = tx_templavoila_pi1->main_page

Best regards
-- 
Philipp Gampe


More information about the TYPO3-english mailing list