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

Ralf-Rene Schröder ralf.rene at online.de
Tue Apr 22 14:13:31 CEST 2014


Am 22.04.2014 11:54, schrieb PIT Solutions:
> 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.file.treatIdAsReference = 1


>                     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.

!!! see in TS above the file.treatIdAsReference=1


-- 
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format


More information about the TYPO3-english mailing list