[Typo3] Obtaining information richful menu
Francesco di Francia
darksky77 at email.it
Wed Oct 12 23:32:18 CEST 2005
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
More information about the TYPO3-english
mailing list