[Typo3] Obtaining information richful menu
Torsten Schrade
schrade at lineara.de
Thu Oct 13 00:21:12 CEST 2005
Francesco di Francia schrieb:
> After 4 hours in diving tsref i tried to start from a tsref i find in
> stiled content. It's the menu plugin that render title+abstract.
> So i wrote this:
>
> lib.menuschede = HMENU
> lib.menuschede.wrap = <div class="csc-menu csc-menu-4">|</div>
> lib.menuschede {
> special = directory
> special.value.field = pages
> 1 = TMENU
> 1.NO {
> allWrap = <p>|</p>
> after.required = 1
> after.data = field : abstract
> after.htmlSpecialChars = 1
> after.wrap =<p class="csc-abstract"> | </p>
>
> }
> }
>
> What i can't do is to create more than one "istance" of after.data. For
> example I'd need after.data = field : subtitle, after.data = field :
> date, etc. etc.
>
> I tried nesting the array, i.e. :
>
> 1.after.data = field : abstract
> 2.after.data = field : subtitle
> 3.after.data = field : date
>
> But nothing works.
> I tried also different combination as after.1.data or after.data.1 but
> nothing.
>
> Thanks for your help,
>
> Francesco
Hi Francesco,
forget the after property, use allStdWrap and COA:
---snip---
1.NO.allStdWrap.append = COA
1.NO.allStdWrap.append {
1 = TEXT
1.data = field : abstract
2 = TEXT
2.data = field : subtitle
3 = TEXT
3.data = field : author
# to be continued...
}
---snip---
have fun,
Torsten
More information about the TYPO3-english
mailing list