[TYPO3] nsb_cat2menu & ACT parent item
servis.JiriMikula.cz
servis at jirimikula.cz
Sun Nov 19 10:01:30 CET 2006
Hi,
category menu incorrect with cat2menu?
BE:
temp.category = HMENU
temp.category.special = userfunction
temp.category.special.userFunc = tx_nsbcat2menu_pi1->main
temp.category.special.catList = uid
temp.category.special.pidlist = pid
temp.category.special.catTable = tt_products_cat
temp.category.special.parentEntry = parent_category
temp.category.special.extTrigger = tx_ttproducts_pi1
temp.category.special.varCat = cat
temp.category.special.targetId = uid
temp.category.special.recSel = TRUE
temp.category = HMENU
temp.category.entryLevel = 1
temp.category.1 = TMENU
temp.category.1 {
NO = 1
NO.doNotShowLink = 1
}
temp.category.2 = TMENU
temp.category.2 {
target =
noBlur = 1
wrap = <ul>|</ul>
expAll = 0
NO {
allWrap = |
linkWrap = <span>|</span>
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <li>|</li>
ATagBeforeWrap = 1
doNotLinkIt = 0
}
ACT < .NO
ACT = 1
ACT {
wrapItemAndSub = <li class="act">|</li>
}
}
temp.category.3 = TMENU
temp.category.3 < temp.category.2
temp.category.4 = TMENU
temp.category.4 < temp.category.2
FE:
...
<ul>
<li><a href="#" |error, missing class="act"|><span>PARENT</span></a>
<ul>
<li class="act"><a href="#"><span>CHILD1</span></a></li>
<li><a href="#"><span>CHILD2</span></a></li>
<li><a href="#"><span>CHILD3</span></a></li>
<li><a href="#"><span>CHILD4</span></a></li>
<li><a href="#"><span>CHILD5</span></a></li>
</ul>
</li>
</ul>
...
Any suggestions?
Jira
S pozdravem
Jiří Mikula
-------------------------------------------------
JiriMikula.cz - internetová řešení
Hálkova 402/9, 40004 Trmice
IČO: 72625431, DIČ: CZ7908032902
jirimikula.cz
-------------------------------------------------
--
More information about the TYPO3-english
mailing list