|
Problem mit Unternemüs
Hallo!
Ich bin ein ABSOLUTER Neuling was Typo betrifft.
Ich hab ein Menü erstell, welches an zwei Positionen ein Untermenü hat.
Als erstes hatte ich das Problem, das die Menüpunkte alle angezeigt worden sind aber nicht die Unternemüs. Jetzt hab ich da irgendwie dran "rumgebastelt" und.. Überraschung die Unterlinks tauchten auf... jetzt stehen diese blöden Dinger aber dauerhaft da und werden nicht dann eingeblendet wenn auf den Hauptpunkt geklickt wird.
Hier noch der Inhalt des Start-Templates:
# tt_news date & time formats
plugin.tt_news {
archiveTitleCObject {
10.strftime = %B - %Y
}
getRelatedCObject {
20.strftime = %d.%m.%Y %H:%M
}
displaySingle {
date_stdWrap.strftime= %d.%m.%y
time_stdWrap.strftime= %H:%M
}
displayLatest {
date_stdWrap.strftime= %d.%m.%y
time_stdWrap.strftime= %H:%M
}
displayList {
date_stdWrap.strftime= %d.%m.%y
time_stdWrap.strftime= %H:%M
}
newsFiles {
target = _blank
path = uploads/media/
icon = 1
stdWrap.wrap = <dd>|</dd>
}
}
page = PAGE
page.typeNum = 0
#page.stylesheet = fileadmin/css/format.css
page.20 = TEMPLATE
page.20 {
typeNum = 0
stylesheet = fileadmin/css/format.css
template = FILE
template.file = fileadmin/home_templ/home.html
workOnSubpart = DOCUMENT
marks {
MENU = HMENU
MENU.special = directory
MENU.entryLevel = 1
MENU.special.value = 1
MENU.1 = TMENU
MENU.1.expAll = 1
MENU.1.collapse = 0
MENU.1.target = _self
MENU.1.NO {
linkWrap = <div align="center"><center><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="195"><tr><td width="10"> </td><td width="185"><p style="margin-left: 2" >|</td></tr></table></center></div>
}
MENU.1.ACT = 1
MENU.1.ACT {
linkWrap = <div align="center"><center><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="195"><tr><td width="10" > </td><td width="185"><p style="margin-left: 2" >|</td></tr></table></center></div>
}
MENU.2 = TMENU
MENU.2.NO = 1
MENU.2.NO {
linkWrap = <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="195"><tr><td width="20" align="right"></td><td width="175"><p style="margin-left: 2">|</td></tr></table>
}
MENU.2.ACT = 1
MENU.2.ACT {
linkWrap = <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="195"><tr><td width="20" align="right" ></td><td width="175"><p style="margin-left: 2" >|</td></tr></table>
}
CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
### Festlegen, dass die News immer in der äußeren, rechten Spalte ausgegeben werden ###
NEWS < plugin.tt_news
NEWS {
defaultCode = LATEST
code >
code = LATEST
latestLimit = 3
pid_list >
pid_list = 10
singlePid = 16
backPid = 14
itemLinkTarget = _self
}
}
}
Über schnelle Hilfe wäre ich echt super dankbar.. ich verzweifle bald.
Danke schon mal im voraus.
BAGHIRA
|