Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > TYPO3 General Discussion > Templates > Exclude first level menu
Total Posts: 6 - Pages (1): [1]
Author: mediatech
Posted: May 29 2007 - 07:50 PM
Subject: re: re: Exclude first level menu
jessica wrote:
Hi Greg,

I like make a menu similar:

http://www.pronux.ch/news.html
http://typo3.org/development/


I will be releasing Zen Wireframe soon with this menu style in the subscription section soon. Hopefully tomorrow.... it's ready and I'm done testing. Email if you want it sooner.
http://zwire.mediatech.net

Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: jessica
Posted: May 28 2007 - 09:41 AM
Subject: re: Exclude first level menu
Hi Greg,

I like make a menu similar:

http://www.pronux.ch/news.html
http://typo3.org/development/

with the orrizontal menu first and sencond level (drop down menus), and it's work

but I like, on the orrizontal menu, the active area (first level), a different color, like your orrizontal black menu , and the active area blue.


Jessica
Author: mediatech
Posted: May 26 2007 - 02:18 PM
Subject: re: Exclude first level menu
You can still access your 2nd,3rd and 4th level menu pages using the vertical navigation menu. I believe Jesse wanted to achieve a similar menu setup as seen here where the left vertical navigation is displaying menu levels specific to the menu first level only.

http://www.pronux.ch/news.html
http://typo3.org/development/

Both of these sites have no horizontal drop down menus however sub menus can be accessed through the left vertical menu.

# Vertical Navigation
#######################################
subparts.VERTNAV = HMENU
subparts.VERTNAV.entryLevel = 1
#subparts.VERTNAV.special = directory
#subparts.VERTNAV.special.value = 1
#subparts.VERTNAV.excludeUidList = 1,2,3
subparts.VERTNAV.1 = TMENU
subparts.VERTNAV.1 {


If you choose to leave the horizontal menu as it is then you have this.
http://zwire.mediatech.net/3-column.html

Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: amirsfc
Posted: May 25 2007 - 04:30 AM
Subject: re: re: Exclude first level menu
mediatech wrote:

For the horizontal drop down menu you can comment out or remove the lines of TS responsible for adding additional menu levels.

# Top horizontal dropdown menu
#######################################

Remove 3 & 4 TMENU levels

3 = TMENU
3 {
expAll=1
noBlur = 1
wrap = <div class="hover2"><ul> | </ul></div>
NO {
wrapItemAndSub = <li> | </li>
}
}


Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington


Hi Greg,
I'm using Realurl, and if I did as what you instructed above, all my second level pages can't be accessed! I do understand that realurl can't work with 'not in menu' or 'hide page' fnction. So it should be visibly not showned only. Any alternative way to 'hide' the menu instead? Perhaps in the templates html or css ? thanks
Author: mediatech
Posted: May 18 2007 - 02:50 PM
Subject: re: Exclude first level menu
Hi Jessy,

Try the following Typoscript in your TS template.

# Vertical Navigation
#######################################
subparts.VERTNAV = HMENU
subparts.VERTNAV.entryLevel = 1
#subparts.VERTNAV.special = directory
#subparts.VERTNAV.special.value = 1
#subparts.VERTNAV.excludeUidList = 1,2,3
subparts.VERTNAV.1 = TMENU
subparts.VERTNAV.1 {


For the horizontal drop down menu you can comment out or remove the lines of TS responsible for adding additional menu levels.

# Top horizontal dropdown menu
#######################################

Remove 3 & 4 TMENU levels

3 = TMENU
3 {
expAll=1
noBlur = 1
wrap = <div class="hover2"><ul> | </ul></div>
NO {
wrapItemAndSub = <li> | </li>
}
}


Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: jessica
Posted: May 18 2007 - 08:46 AM
Subject: Exclude first level menu
On the vertical menu how it's possible exclude the first level menu?

Example:
menu1
menu1.1
menu1.1.1

I like to show:
menu1.1
menu1.1.1

And on the orriziontal menu how it's possible to show only the first and second level?

Jessy

Total Posts: 6 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support