[TYPO3] [TYPO3 3.8.1] Output menu ids or find out a menu id

Dmitrii Dimandt dmitrii at dmitriid.com
Sat Dec 2 10:27:26 CET 2006


I have a menu defined like this:

temp.left_menu.2 = TMENU
temp.left_menu.2.noBlur = 1
temp.left_menu.2 {
    // expAll = 1
    wrap = <ul class="catalogue-menu"> | </ul> <br><br>
    // wrapItemAndSub = <div> | </div>

    NO {
        linkWrap = <li>|</li>
    }
    ACT = 1
    ACT {
        linkWrap = <li>|</li>
    }
    CUR = 1
    CUR {
        linkWrap = <li>|</li>
    }
}


Our SEO (search engine optimizer) wants to output a single menu item in a
different color. So, if our menu goes like this:

- Section 1
---- Item 1.1
---- Item 1.2
---- Item 1.3
- Section 2
---- Item 2.1
---- Item 2.2
---- Item 2.3

I need to change the color of item 2.2

And I have no idea how to do that :)

I tried searching through the list, but none of the solutions work for me
for some odd reason.

The simplest solution I'm looking for is to output menus like this: <li
id="m_menu_id"></li>. But I can't figure out how to do that. dataWraps,
ATagParams don't seem to work with values like "id={field:id}" or
"id={elementUid}".

Whatever shall I do?

Thank you.


More information about the TYPO3-english mailing list