How to use option split to control typo3 menu properties?

后端 未结 2 1387
礼貌的吻别
礼貌的吻别 2021-01-16 00:15

I am trying to resolve a design issue implementation in typo3. Essentially I have to implement a tabbed menu (only the active state is tabbed) that\'s generated from the dir

2条回答
  •  感情败类
    2021-01-16 00:40

    I do not think a new site should use GMENU any more. Instead you should use TMENU with CSS.

    Here is a basic example that should get you started:

    10 = HMENU
    10 {
      special = directory
        # start with pid 3
      special.value = 3
      1 = TMENU
      1 {
        expAll = 1
        wrap = 
      |
    NO = 1 NO { wrapItemAndSub =
  • |
  • ATagTitle = abstract // description // title } ACT < .NO ACT.wrapItemAndSub =
  • |
  • CUR < .NO CUR.wrapItemAndSub =
  • |
  • } 2 < .1 3 < .1 4 < .1 4.wrap =
      | }

    Of course you can now use option split for wrapItemAndSub like so: wrapItemAndSub =

  • |
  • |*|
  • |
  • |*|
  • |
  • The rest in then just normal CSS.

提交回复
热议问题