[TYPO3] Using subtitle in tmenu
Damiano Morosi
damiano.morosi at atac.roma.it
Fri Jul 18 15:26:45 CEST 2008
Thanks, it works great... and it's simple!
Xavier Perseguers ha scritto:
> Hi,
>
>> I have a TMENU like this:
>>
>> temp.menusez.1 = TMENU
>> temp.menusez.1 {
>> wrap = <ul> | </ul>
>> # Normal state
>> NO {
>> ATagTitle.field = subtitle // title
>> wrapItemAndSub = <li>|</li>
>> }
>> }
>>
>> and this return the list as:
>>
>> page 1 title
>> page 2 title
>> ...
>>
>> Now I would like to add the subtitle to the generated link, obtaining:
>>
>> page 1 title - page 1 subtitle
>> page 2 title - page 2 subtitle
>>
>> as links (other than in the title attribute). Is this possible?
>
> You may use something like that:
>
> NO {
> stdWrap.cObject = COA
> stdWrap.cObject {
> 10 = TEXT
> 10.field = title
> 10.wrap = | -
>
> 20 = TEXT
> 20.field = subtitle
> }
> }
>
> HTH
>
--
Dott. Damiano Morosi
Atac S.p.A. - Agenzia per la Mobilità del Comune di Roma
Direzione Sistemi - Area Centrale della Mobilità
Sviluppo funzioni sistemiche della Centrale
00157 Roma - Via Ostiense, 131/L
Tel.: (+39) 0646959361
Mail: damiano.morosi at atac.roma.it
Skype: damiano.morosi
Web: http://www.atac.roma.it
More information about the TYPO3-english
mailing list