[Typo3-UG Stuttgart] Hallo Liste: Frage :-)
Stefan Bothner | [m]zentrale
stefan at m-zentrale.de
Mon May 5 18:24:20 CEST 2003
Hallo,
Folgendes Problem:
ich habe ein TMENU für eine Seite implementiert. Dieses Menue hat zwei
Ebenen!
klicke ich nun auf einen "Hauptlink" werden die Sublinks schoen ordentlich
aufgelistet!!
jedoch wird die id des "hauptinks" auf die id einer anderen seite gesetzt.
Wenn ich nun den
"geklickten Hauptlink" nochmals klicke um das Submenue auszublenden wird die
falsche Seitenid geladen!
Woran kann das Liegen! Hier mein Template:
plugin.tt_calender.fontFace = verdana
content.RTE_compliant = 1
PAGE_TARGET = page
content {
defaultHeaderType = 1
wrap.header = |
wrap.header1 = <h1>|</h1>
wrap.header2 = <h2>|</h2>
wrap.header3 = <h3>|</h3>
wrap.header4 = <h4>|</h4>
}
content.wrap.subheader1 = <span class="subhead1">|</span>
content.wrap.subheader2 = <span class="subhead2">|</span>
content.wrap.subheader3 = <span class="subhead3">|</span>
styles.content.imgtext.captionWrap = <span class="caption">|</span>
[browser=netscape]
formsize = 8
[else]
formsize = 16
[end]
styles.content.uploads.wrap = <span class="filelinks">|</span>
styles.content.imgtext.maxW = 540
//Sitemap
styles.sitemap.text.itemWrap = <b>|</b>
//Searchform
styles.content.mailform.target =
styles.content.searchresult.target =
styles.content.searchresult.resultTarget =
styles.content.searchresult.color = #000000
styles.content.searchresult.header.bgCol = #ABBD26
############################################################################
####################################################################
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/styles/styles.css
page.20 = TEMPLATE
page.20 {
template = FILE
template.file = fileadmin/tmpl/layout.html
workOnSubpart = DOKUMENT
marks.MAIN_CONTENT = CONTENT
marks.MAIN_CONTENT < styles.content.get
marks.MENU = HMENU
marks.MENU.entryLevel = 0
//marks.MENU.stdWrap.wrap = <table width="120" border="0" cellspacing="0"
cellpadding="0"><tr><td><img src="fileadmin/gfx/z.clearpix.gif" width="20"
height="5"></td><td><img src="fileadmin/gfx/z.clearpix.gif" width="130"
height="5"></td><td><img src="fileadmin/gfx/z.clearpix.gif" width="10"
height="5"></td></tr>|<tr><td><img
src="fileadmin/fileadmin/gfx/z.clearpix.gif" width="20"
height="5"></td><td><img src="fileadmin/gfx/z.clearpix.gif" width="130"
height="5"></td><td><img src="fileadmin/gfx/z.clearpix.gif" width="10"
height="5"></td></tr></table>
marks.MENU.1 = TMENU
marks.MENU.1.expAll = 0
marks.MENU.1 {
//target =page
collapse = 1
NO{
ATagParams= class="navi1"
allWrap = <tr><td class="white"><img src="fileadmin/gfx/z.clearpix.gif"
width="15" height="1"></td><td class="white"><img
src="fileadmin/gfx/z.clearpix.gif" width="145" height="1"></td><td
class="white"><img src="fileadmin/gfx/z.clearpix.gif" width="10"
height="1"></td></tr><tr><td><img src="fileadmin/gfx/z.clearpix.gif"
width="15" height="25"></td><td>|</td><td><img
src="fileadmin/gfx/z.clearpix.gif" width="10" height="25"></td></tr>
}
ACT < .NO
ACT = 1
ACT.ATagParams= class="navi1-active"
ACT.allWrap = <tr><td class="white"><img
src="fileadmin/gfx/z.clearpix.gif" width="15" height="1"></td><td
class="white"><img src="fileadmin/gfx/z.clearpix.gif" width="145"
height="1"></td><td class="white"><img src="fileadmin/gfx/z.clearpix.gif"
width="10" height="1"></td></tr><tr bgcolor="F7F9EA"><td><img
src="fileadmin/gfx/z.clearpix.gif" width="15"
height="25"></td><td>|</td><td><img src="fileadmin/gfx/z.clearpix.gif"
width="10" height="25"></td></tr>
}
marks.MENU.2 = TMENU
marks.MENU.2.expAll = 0
marks.MENU.2 {
//target = page
collapse = 1
NO{
ATagParams= class="navi2"
allWrap = <tr><td class="white"><img src="fileadmin/gfx/z.clearpix.gif"
width="15" height="1"></td><td class="white"><img
src="fileadmin/gfx/z.clearpix.gif" width="145" height="1"></td><td
class="white"><img src="fileadmin/gfx/z.clearpix.gif" width="10"
height="1"></td></tr><tr bgcolor="F4F7E3"><td><img
src="fileadmin/gfx/z.clearpix.gif" width="15" height="20"></td><td><img
src="fileadmin/gfx/z.clearpix.gif" width="5" height="5">|</td><td><img
src="fileadmin/gfx/z.clearpix.gif" width="10" height="20"></td></tr>
}
ACT < .NO
ACT = 1
ACT.ATagParams= class="navi2-active"
ACT.allWrap = <tr><td class="white"><img
src="fileadmin/gfx/z.clearpix.gif" width="15" height="1"></td><td
class="white"><img src="fileadmin/gfx/z.clearpix.gif" width="145"
height="1"></td><td class="white"><img src="fileadmin/gfx/z.clearpix.gif"
width="10" height="1"></td></tr><tr bgcolor="F7F9EA"><td><img
src="fileadmin/gfx/z.clearpix.gif" width="15" height="20"></td><td><img
src="fileadmin/gfx/z.clearpix.gif" width="5" height="5">|</td><td><img
src="fileadmin/gfx/z.clearpix.gif" width="10" height="20"></td></tr>
}
}
Gruss
Stefan Bothner
[programmierung | konzeption]
--------------------------------------------
[m]zentrale gbr | christophstr. 38
| 70180 stuttgart
| fon: 0711-2181675
| fax: 0711-2181676
| stefan at m-zentrale.de
| www.m-zentrale.de
--------------------------------------------
[m]newsletter:
http://www.m-zentrale.de/cms/kontakt/newsletter
[m]aktuelle projekte:
http://www.m-zentrale.de/cms/projekte
[m]kunden/referenzen:
http://www.m-zentrale.de/cms/agentur/kunden-referenzen
More information about the TYPO3-stuttgart
mailing list