[TYPO3] Menu for nsb_cat2menu

Tapio Markula tapio.markula at xetpoint.fi
Thu Jul 10 08:59:49 CEST 2008


Hi

I tried to implement menu of dropdown_sitemap for nsb_cat2menu

lib.nsbcat2menu.1 = TMENU
lib.nsbcat2menu.1 {
wrap(
<div class="tx-dropdownsitemap-pi1">
<div class="expAll"><a 
href="javascript:tx_dropdownsitemap_pi1_expAll();" title="Expand / 
Collapse all"><img src="typo3conf/ext/dropdown_sitemap/res/exp-on.gif" 
width="16" height="16" border="0" hspace="0" vspace="0" border="0" 
id="tx_dropdownsitemap_pi1_expImg" alt="Expand / Collapse all" 
title="Expand / Collapse all" />Expand / Collapse all</a></div>
<ol style="display:block" type="1">|
</ol>
</div>
)
NO = 1
NO.ATagBeforeWrap = 0
NO.stdWrap.htmlSpecialChars = 0
#examples from elsewhere
#NO.allWrap.dataWrap = <div id="link{field:uid}">|
#NO.allWrap = <div class="menu2-level1-no"> | </div></div>
#NO.linkWrap = <span>|</span>

NO.wrapItemAndSub =  | </li>
NO.allWrap=|
NO.allWrap.dataWrap=<li class="closed"><div id="link{field:uid}" 
class="level_1 no level_1_no"><img 
src="typo3conf/ext/dropdown_sitemap/res/page.gif" width="16" height="16" 
border="0" hspace="0" vspace="0" border="0" alt="Page" title="Page" 
/><span class="no"> | </span></div>

IFSUB < .NO
IFSUB.allWrap=|
IFSUB.allWrap.dataWrap = <li 
id="tx_dropdownsitemap_pi1_{field:uid}"><div class="level_1"><span 
onclick="tx_dropdownsitemap_pi1_swapClasses({field:uid});" title="Click 
here to view the subpages"><img 
src="typo3conf/ext/dropdown_sitemap/res/folder-on.gif" width="16" 
height="16" border="0" hspace="0" vspace="0" border="0" 
id="pic_{field:uid}" alt="Folder" title="Click here to view the 
subpages" /><span class="ifsub">|</span></span></div>
}

total failure
1) IFSUB (concerns also tested ACTIFSUB) didn't work at all
2) field replacement ({field:uid}) didn't work at all


More information about the TYPO3-english mailing list