menu - add class to root of branch in HMENU -
hello have structure of site this
site a
-> site a1
-> site a2
-> site a3
site b -> site b1
now in hmenu when i'm on site or site b have on class "active" has diffrent background. want keep class when i'm in site a1, a2, a3 (make active site a) , when i'm on b1 want make active site b
how can ?
did mean "site" or talking regular pages , subpages? if latter, should go different menu item states.
no, cur, act, ifsub, actifsub , described here: http://docs.typo3.org/typo3cms/typoscriptreference/menuobjects/commonitemstates/index.html
Comments
Post a Comment