[TYPO3-english] tt_content.menu.default display name first level parent page

Muriel le Pair typo3 at strangefruit.nl
Wed Feb 5 16:09:01 CET 2014


Hi,

I'm trying to alter tt_content.menu.default so that it will display the 
section name + selected page in a menu.

The page structure that looks like this:

root
- section1
|_ page 1
|_ page 2
    |_ subpage 1
- section
|_ page 3
|_ page 4
    |_ subpage 2

So if someone selects pages 1 and 3 it should be rendered like this:
- section1 + page 1
- section2 + page 3

I tried the following:

tt_content.menu {

     # HMENU option "Menu of these pages"
     20.default {
       #special = list
       1 {
         NO {
           stdWrap {
             htmlSpecialChars = 0
             dataWrap = <li>{leveltitle: 1}</li>
           }
         }
       }
     }
}

But leveltitle: 1 is displaying level 1 of the current page instead of 
the selected page in the menu.

Anyone any suggestions?

--
kind regards,

Muriel le Pair




More information about the TYPO3-english mailing list