[TYPO3-english] HMENU/TMENU without NO but with CUR and ACT not possible?

Peter Niederlag typo3-list at niekom.de
Wed Oct 7 21:30:46 CEST 2009


Hello,

Matthew Colton schrieb:
> Hi ppl,
> a quick question about HMENU: I want to create a submenu which shows the 
> current active top level menu item and all subitems.
> My problem is, that the navigation isn't rendered if  I only set CUR and ACT 
> but not NO.
> I only want the current/active element, not the normal elements as i format 
> the "link" with doNotLinkIt and use it as a header by linkwrapping it.

you probably should show some code to get better help.

common approach IIRC is to use some of the special properties of HMENU:

page.xy 0 = HMENU
page.xy 0 {
  entryLevel = -2
  // alternative use .special
  // special.value = directory
  // special.value.field = uid
}

hth,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-english mailing list