Typoscript navigation with subpages

后端 未结 3 470
囚心锁ツ
囚心锁ツ 2021-01-20 14:07

I am trying to implement my navigation with typoscript and I am having problems to understand how to wrap right.

I already have a base navigation with 1 level that i

3条回答
  •  执笔经年
    2021-01-20 14:46

    This snippet I have used for internal page links:

    I have used subtitle field for internal navigation.

    for example:

    Ourservice
    
    menu.main_menu = HMENU
    menu.main_menu {
    
    #special = directory
    #special.value = 2
    
        1 = TMENU
        1 {
             wrap = 
             expAll = 1
             noBlur = 1
    
             NO = 1
             NO {
                doNotLinkIt = 1
                allWrap.insertData = 1
               allWrap =                       
              }
    
              ACT < .NO
              ACT {
                   ATagParams = class="active dropdown"
                   allWrap =  |*| 
             }
    
             CUR < .NO
             CUR {
                 ATagParams = class="parent_menu active"
                 allWrap =  |*| 
            }
        }   
    }
    

提交回复
热议问题