[Typo3] TMENU and data from Astract field
JoH
info at cybercraft.de
Fri Nov 25 15:30:53 CET 2005
> Is it possible to get data from "Abstract"-field(or somewhere) and
> output it to the TMENU -menu? I would want to add a possibility for
> the user to insert some short extra info under the title of the link.
> Maybe a small picture also or something. Is this possible without
> coding a custom MENU item?
>
> temp.sub_navi = COA
> temp.sub_navi {
> wrap = <ul>|</ul>
> 10 = HMENU
> 10.entryLevel = 2
> 10.1 = TMENU
> 10.1{
> NO {
> wrapItemAndSub = <li>|{abstract.data.from.linkpage}</li>
> stdWrap.case = lower
>
> }
>
> CUR < .NO
> CUR.wrapItemAndSub = <li
> class="subnavi-act">|{abstract.data.from.linkpage}</li>
> stdWrap.case = upper
> CUR = 1
> }
> }
You can use "before" and/or "after" for this purpose.
NO {
wrapItemAndSub = <li>|</li>
stdWrap.case = lower
after.field = abstract
after.wrap = <span class="abstract">|</span>
}
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau
More information about the TYPO3-english
mailing list