[TYPO3-UG Dutch] foldoutmenu and automaketemplate probleem
Roelof Wobben
rwobben at hotmail.com
Fri Mar 30 15:46:10 CEST 2007
Hoi,
Ik heb deze TS van de plugin :
// --- SETUP start ---------------------------
includeLibs.foldoutmenu = typo3conf/ext/foldoutmenu/foldoutmenu.php
lib.zmenu = COA
lib.zmenu {
10 = HMENU
10.wrap = <div id="menuz"><ul>|</ul></div>
10.entryLevel = 1
10.1 = TMENU
10.1 {
expAll = 1
itemArrayProcFunc = user_foldoutMenu->getIfSubUidList
NO {
stdWrap.cObject = COA
stdWrap.cObject {
10 = CLEARGIF
10.width=9
10.wrap = |
20 = TEXT
20.field = title
}
ATagParams = class="no"
allWrap = <li>|</li>
}
CUR < .NO
CUR = 1
CUR.ATagParams = class="act"
IFSUB < .NO
IFSUB = 1
IFSUB {
doNotLinkIt = 1
subst_elementUid = 1
stdWrap.cObject = COA
stdWrap.cObject {
10 >
10 = IMAGE
10.file = {$lib.zmenu.imgFolder}{$lib.zmenu.collapseImg}
10.altText = Click to open
10.titleText = Click to open
10.params = align="top" id="zmenu-{elementUid}-0"
}
linkWrap = <A href="javascript:;"
onmousedown="zmenu.foldMenu('zmenu-{elementUid}');return false;"
style="cursor: pointer;cursor: hand;" class="no">|</a>
allWrap = <li>|<ul id="zmenu-{elementUid}">
wrapItemAndSub = |</ul></li>
}
ACTIFSUB < .IFSUB
ACTIFSUB = 1
ACTIFSUB.stdWrap.cObject.10.file =
{$lib.zmenu.imgFolder}{$lib.zmenu.expandImg}
ACTIFSUB.stdWrap.cObject.10.altText = Click to close
ACTIFSUB.stdWrap.cObject.10.titleText = Click to close
ACTIFSUB.stdWrap.cObject.10.params = align="top"
id="zmenu-{elementUid}-0"
#ACTIFSUB.allWrap = <li>|<ul id="zmenu-{elementUid}"
style="display:block;">
CURIFSUB < .IFSUB
CURIFSUB = 1
CURIFSUB.linkWrap = <A
onmousedown="zmenu.foldMenu('zmenu-{elementUid}');return false;"
style="cursor: pointer;cursor: hand;" class="act">|</a>
}
10.2 < .10.1
10.3 < .10.1
10.4 < .10.1
20 = TEXT
20.data = register:ifSubUidList
20.postUserFunc = user_foldoutMenu->JSWrapper
20.postUserFunc.prefix = zmenu
20.postUserFunc.startFolded = 1
20.postUserFunc.autoFold = 1
20.postUserFunc.foldCurrent = 1
20.postUserFunc.enableCookie = 1
20.postUserFunc.imagePath = {$lib.zmenu.imgFolder}
20.postUserFunc.imageSwap
= ["{$lib.zmenu.collapseImg}","{$lib.zmenu.expandImg}"]
20.postUserFunc.altSwap = ["Click to open","Click to close"]
20.required = 1
}
Nu dacht ik dat je het menu kon laten werken door deze regel te gebruiken.
subparts.menu < lib.zmenu
Maar ik zie geen menu .
Groetjes,
Roelof
_________________________________________________________________
Even lekker snel online vermaak? Ga dan naar www.msn.nl http://www.msn.nl
More information about the TYPO3-UG-dutch
mailing list