[TYPO3-english] Typoscript menu not working in Typo3 6.2

PIT Solutions typo3 at pitsolutions.com
Tue Apr 22 11:54:35 CEST 2014


Hi All,

I've tried to create a typoscript menu which shows an image icon with the menu text. The image is loaded from "Resources > Files (Media)" section of page properties. 
The script is working perfectly with typo3 6.1. But in typo3 6.2, the same script is not working and only the default image is displayed every time. Also I tried this by removing the default image in the menu, then it is not displayed anything in frontend.

See the typoscript below;

lib.menu = HMENU
lib.menu {
        special = directory
        special.value = 1
        1 = TMENU
        1{
            expAll = 0
            NO = 1
            NO{
                wrapItemAndSub = <li>|</li>
                ATagParams.dataWrap = title="{field:title}"
                stdWrap.innerWrap.cObject = COA
                stdWrap.innerWrap.cObject {
                    10 = IMAGE
                    10.file.import {
      ### Default Image Section ###

                      cObject = TEXT
                      cObject.value = fileadmin/templates/images/social_noimage.png
                      cObject.override {
                          required = 1
                          data = field:media
                          wrap = uploads/media/|
                          listNum = 0
                      }
                    }
                    10.wrap = <span class="ico">|</span>
                }
            }
          
            ACT < .NO
            ACT = 1
            ACT.ATagParams.dataWrap = title="{field:title}" class="act left-nav-header-new" id="acts"
            
           
       }
       2 = TMENU
       2{
           wrap = <ul class="sub-nav-left-new">|</ul>
           expAll = 1
           NO = 1
           NO.wrapItemAndSub = <li>|</li>
           ACT = 1
           ACT.wrapItemAndSub = <li>|</li>
           ACT.ATagParams = class="act"
      }
}

Please help me if anyone knows the solution.

Thanks in advance,
Arun Chandran
PIT Solutions Pvt Ltd.


More information about the TYPO3-english mailing list