Hello,

I built a drop down megamenu in 6.2.x with fetching image file, image title and 
image description.
Now I want to get rid of the standard page title in level 2 because it is a 
double of the image title.

#####################
##### MEGA MENU #####
#####################

lib.navigation.main >
lib.navigation.main = COA
lib.navigation.main {
10 = HMENU
  10 {
    1 = TMENU
      1 {
          wrap = <ul class="nav navbar-nav navbar-main">|</ul>
          expAll = 1
          noBlur = 1
          NO = 1
          NO {
              ATagTitle.field = abstract // description // title
              ATagBeforeWrap = 1
              linkWrap = |<mark class="bar"></mark>
              wrap = <li>|</li>
              wrap.override.cObject = COA
              wrap.override.cObject {
                  if {
                      value = 4
                      equals.field = doktype
                      isTrue = 1
                      isTrue.if {
                          value.data = TSFE:page|uid
                          equals.field = shortcut
                      }
                  }
                  10 = TEXT
                  10.value = <li class="active">|</li>
              }
          }
          ACT < .NO
          ACT {
              wrap = <li class="active">|</li>
          }
          CUR < .ACT
          IFSUB < .NO
          IFSUB {
              doNotLinkIt = 1
              allWrap = <a href="#" class="dropdown-toggle" data-toggle="dropdown">|<b 
class="caret"></b></a>
              wrapItemAndSub.insertData = 1
              wrapItemAndSub = <li class="dropdown menuid-{field:uid} 
menupos-{register:count_MENUOBJ}">|</li>
          }
          ACTIFSUB < .IFSUB
          ACTIFSUB {
              wrapItemAndSub = <li class="active dropdown menuid-{field:uid} 
menupos-{register:count_MENUOBJ}">|</li>
          }
          CURIFSUB < .ACTIFSUB
      }
     2 < .1
     2 {
         expAll = 1
         NO = 1
         NO {
             ATagTitle.field >
             ATagBeforeWrap >
             linkWrap >
             wrapItemAndSub = <li class="dropdownmega">|</li>
             stdWrap.innerWrap.cObject = FILES
             stdWrap.innerWrap.cObject {
               references {
                 table = pages
                 uid.field = uid
                 fieldName = media
               }
               renderObj = COA
               renderObj {
                 10 = TEXT
                 10 {
                   # file: title ausgeben
                   stdWrap.data = file:current:title
                   stdWrap.wrap = <p class="bigtext"><strong>|</strong></p>
                 }
                 20 = IMAGE
                 20 {
                   # file: image ausgeben
                   file.import.data = file:current:publicUrl
                   file.width = 200
                   wrap = <div class="ico">|</div>
                 }
                 30 = TEXT
                 30 {
                   # file: description ausgeben
                   stdWrap.data = file:current:description
                   stdWrap.wrap = <p>|</p>
                 }
                 40 = TEXT
                 40 {
                   value = ยป alle Infos & alle Produkte
                   wrap = <p class="mehrlesen"><strong>|</strong></p>
                 }
               }
             }
         }

         ACT < .NO
         ACT = 1
         ACT.ATagParams.dataWrap = title="{field:title}" class="act left-nav-header-new" 
id="acts"
         wrap =  <ul class="dropdown-menu">|</ul>
         CUR < .ACT
         IFSUB >
         ACTIFSUB >
         CURIFSUB >
    }
    3 >
    4 >
}
}

Any ideas or hints for me?
Wolfgang
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to