[TYPO3] All text to TMENU link tekst

Mathias R. Wulff mathias at RaWu.dk
Thu Sep 6 21:52:11 CEST 2007


Strange... At the link to the documentation it seams like stdWrap is 
just the correct one.

but... it seams to ignore the stdWrap instruction...

My full code



lib.tmp.2 = HMENU
lib.tmp.2.entryLevel = 1
lib.tmp.2.1 = TMENU
lib.tmp.2.1 {

    wrap = <ul class="menuelementer">|</ul>

    NO = 1
    NO.allWrap = <li>|</li>

    ACT = 1
    ACT.allWrap = <li><span class="aktiv">|</span></li>

    ACTIFSUB = 1
    ACTIFSUB.allWrap = <li><span class="aktiv">|</span>
    ACTIFSUB.expAll = 1

    IFSUB = 1
    IFSUB.allWrap = <li>|
}

lib.tmp.2.2 = TMENU
lib.tmp.2.2 {
    wrap = <ul>|</ul></li>
	
    NO = 1
    NO.allWrap = <li>|</li>
    NO.stdWrap = Try a |

    ACT = 1
    ACT.allWrap = <li><span class="aktiv">|</span></li>
    ACT.stdWrap = Try a |
}


Any iedas?

  - Mathias



Tyler Kraft skrev:
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/10/8/ 
> 
> 
> stdWrap = try a |
> 
> 
> 
> Mathias R. Wulff wrote:
>> Hi
>>
>> I would like to have e "try a " included in my links in my TMENU
>>
>> but
>>
>>    NO.allWrap = <li>|</li>
>>    NO.linkWrap = try a |
>>
>> So the idea was that the output should be
>>
>> <li><a href="#">try a LINKTEXT</a></li>
>>
>> but the result is
>>
>> <li>try a <a href="#">LINKTEXT</a></li>
>>
>>
>> Any idea of what I do wrong?
>>
>>
>>  - Mathias


More information about the TYPO3-english mailing list