hallo,
ich habe das problem das mit das menu nich angezeigt wird ... tv scheint aber alles richtig zu machen .. ich poste mal den code und würde mich freuen wenn mir jemand helfen könnte..
Webseite erzeugter Code
<!--###DOCUMENT###-->
<div id="Navigation"><div id="menuv"><ul></ul></div></div>
<!--###DOCUMENT###-->
Constants
lib.menu1 {
imgFolder = typo3conf/ext/foldoutmenu/examples/horizontal/images/
collapseImg = arrow_right.gif
expandImg = arrow_left.gif
}
Setup
# foldoutmenu
includeLibs.foldoutmenu = typo3conf/ext/foldoutmenu/foldoutmenu.php
lib.menu1 = COA
lib.menu1 {
30 = HMENU
30.wrap = <div id="menuv"><ul>|</ul></div>
30.entryLevel = 1
30.1 = TMENU
30.1 {
expAll = 1
itemArrayProcFunc = user_foldoutMenu->getIfSubUidList
NO {
stdWrap.cObject = COA
stdWrap.cObject {
30 = TEXT
30.field = title
40 = CLEARGIF
40.width=9
40.wrap = |
}
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 {
40 >
40 = IMAGE
40.file = {$lib.vmenu.imgFolder}{$lib.vmenu.collapseImg}
40.altText = Click to open
40.titleText = Click to open
40.params = align="top" id="vmenu-{elementUid}-0"
}
linkWrap = <A href="javascript:;" onmousedown="vmenu.foldMenu('vmenu-{elementUid}');return false;" style="cursor: pointer;cursor: hand;" class="no">|</a
allWrap = <li>|<ul id="vmenu-{elementUid}">
wrapItemAndSub = |</ul></li>
}
ACTIFSUB < .IFSUB
ACTIFSUB = 1
ACTIFSUB.stdWrap.cObject.40.file = {$lib.vmenu.imgFolder}{$lib.vmenu.expandImg}
ACTIFSUB.stdWrap.cObject.40.altText = Click to close
ACTIFSUB.stdWrap.cObject.40.titleText = Click to close
ACTIFSUB.stdWrap.cObject.40.params = align="top" id="vmenu-{elementUid}-0"
ACTIFSUB.allWrap = <li>|<ul id="vmenu-{elementUid}" style="display:inline;">
CURIFSUB < .IFSUB
CURIFSUB = 1
CURIFSUB.linkWrap = <A onmousedown="vmenu.foldMenu('vmenu-{elementUid}');return false;" style="cursor: pointer;cursor: hand;" class="act">|</a>
}
30.2 < .30.1
30.3 < .30.1
40 = TEXT
40.data = register:ifSubUidList
40.postUserFunc = user_foldoutMenu->JSWrapper
40.postUserFunc.prefix = vmenu
40.postUserFunc.startFolded = 1
40.postUserFunc.autoFold = 1
40.postUserFunc.foldCurrent = 1
40.postUserFunc.enableCookie = 1
40.postUserFunc.direction = 1
40.postUserFunc.imagePath = {$lib.vmenu.imgFolder}
40.postUserFunc.imageSwap =["{$lib.vmenu.collapseImg}","{$lib.vmenu.expandImg}"]
40.postUserFunc.altSwap =["Click to open","Click to close"]
40.required = 1
}
page.40 < lib.menu1
page.CSS_inlineStyle (
#menuv {font: normal normal normal 11px/13px Arial, Helvetica, sans-serif;}
#menuv A.no, #menuv A.act {color: #000000;text-decoration: none;}
#menuv A.act, #menuv A.act:hover { font-weight : bold;}
#menuv ul {display: inline;list-style: none;margin: 0px;padding: 0px; white-space: nowrap;}
#menuv li {display: inline;}
#menuv A {border-top:1px solid black;border-bottom:1px solid black;border-right:1px solid #005073;padding: 3px 5px 3px 15px;}
#menuv>UL:first-child>LI:first-child>A:first-child {border-left:1px solid black;}
#menuv UL IMG {margin:2px 3px 2px 0px;}
#menuv UL IMG {margin:2px 3px 2px 0px;}
#menuv UL A {background: #0191cc;}
#menuv UL A:hover {background: #80c8e6;}
#menuv UL LI UL A {background: #3ebcef;}
#menuv UL LI UL A:hover {background: #9fdef7;}
#menuv UL LI UL LI UL A {background: #8dcff3;}
#menuv UL LI UL LI UL A:hover {background: #c6e7f9;}
)
Data Structure XML:
....
<field_menu type="array">
<tx_templavoila type="array">
<title>Main menu</title>
<description>here comes menu</description>
<sample_data type="array">
<numIndex index="0">here comes menu</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<tags>*:inner</tags>
<eType_EXTRA type="array">
<objPath>lib.menu1</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.menu1</TypoScriptObjPath>
</tx_templavoila>
</field_menu>
....
ich bilde mir ja ein alles richtig gemacht zu habeen ... aber vielleicht sieht ja jemand einen fetten bogus...
danke für eure mühe im voraus