[TYPO3-english] suckerfish menu with COA
Katja Lampela
katja.lampela at lieska.net
Sat Sep 3 20:11:31 CEST 2011
Hi,
I want a suckerfish menu wich has:
title
abstract
and on mouse over (title) the submenu appears. Without COA (with which I
get the abstract) this code below works. But now it doesn't. The
sublevel ul gets outside of first level li.
The html is:
<ul>
<li>item</li><ul>
<ul><li>secondlevelitem</li><ul>
and should be:
<ul>
<li>item
<ul><li>secondlevelitem</li><ul>
</li></ul>
my typoscript is:
temp.topmenu = HMENU
temp.topmenu.entryLevel = 0
temp.topmenu.1 = TMENU
temp.topmenu.1 {
expAll = 1
noBlur = 1
CUR = 1
ACT = 1
wrap = <ul id="nav">|</ul>
NO.linkWrap = |
NO {
doNotLinkIt = 1
stdWrap.cObject = COA
stdWrap.cObject.wrap = <li>|</li>
stdWrap.cObject {
10 = TEXT
10.wrap = |
10.field = title
10.typolink.parameter.field=uid
20 = TEXT
20.field = abstract
20.wrap = <div class="abstract">|</div>
}
}
}
temp.topmenu.2 < temp.topmenu.1
temp.topmenu.2 {
wrap = <ul> | </ul>
CUR = 1
ACT = 1
NO.ATagParams =
ACT.wrapItemAndSub = <li class="act2">|</li>
CUR.wrapItemAndSub = <li class="act2">|</li>
}
--
With kind regards
Katja Lampela
*Lieska-tuotanto*
www.lieska.net
More information about the TYPO3-english
mailing list