[TYPO3] Menu Question
Billy Strader
straderb at mindspring.com
Wed Mar 28 15:45:35 CEST 2007
OK I am trying to take a template I like and convert it to a TV
template. I will be the first to admit I am very new in the Typo3
system and trying to get templates to work. Here is my problem's.
First the main menu. I need/want the top level items to be wraped in
this kind of code.
<div id="navcontainer">
<ul id="navlist">
<li><a href="Item1">Item1</a></li>
<li id="active"><a href="Item2"
id="current">Item2</a></li>
</ul>
</div>
I have it going into the div & ul, it does the id=active for the li if
it is the active link. but how can I modify the look/feel of the a href
section? I don't want the :
onfocus="blurLink(this);"
I rather have that be if act put the id="current"
Here is my current TS for this part:
## Menu [Begin]
lib.mainMenu = HMENU
lib.mainMenu.entryLevel = 0
lib.mainMenu.1 = TMENU
lib.mainMenu.1 {
wrap = <ul id="navlist">|</ul>
NO.allWrap = <li> | </li>
ACT = 1
ACT.allWrap = <li id="active"> | </li>
}
## Menu [End]
Now second problem I am having is with SubMenu's. I have a section on
the left hand side that I want filled in if there is submenu's to a main
menu. Here is how I want it to look:
<div id="left_side">
<h3>Item1</h3>
<p>
<ul>
<li><a
href="SubMenu1">SubMenu1</a></li>
<li><a
href="SubMenu2">SubMenu2</a></li>
<ul>
<li><a
href="SubMenu2.1">SubMenu2.1</a></li>
<li><a
href="SubMenu2.2">SubMenu2.2</a></li>
<li><a
href="SubMenu2.3">SubMenu2.3</a></li>
</ul>
<li><a
href="SubMenu3">SubMenu3</a></li>
</ul>
</p>
</div>
Now where Item1 is That needs to be the Main Menu Name. not linked or
anything just put it there with h3 around it. Then the submenu's for
that menu item. Any suggestions? This is where I am really getting
messed up. Nothing I am trying is really doing what I want. Here is the
TS I have for the SubMenu:
lib.subMenu = HMENU
lib.subMenu.entryLevel = 1
lib.subMenu.wrap = <div id="left_side">|</div>
lib.subMenu.1 = TMENU
lib.subMenu.1 {
NO.allWrap = <li> | </li>
}
Thank you in advance for everyone's help on this.
Regards,
Billy S.
PS. sorry if this e-mail is received 3 times. Attempted to send via work
system and I think they are blocking, so switched to home e-mail address.
More information about the TYPO3-english
mailing list