ich weiss, dass dieses Tehma einmal in der Woche behandelt wird. Trotzdem, ich sehe vor lauter Bäume den Wald nicht mehr. Nicht einmal bei einem so einfachen Code.
Also ich möchte auf der linken Seite Standartmässig
Inhalte haben, die auf allen Seiten erscheinen.
Ich habe es so versucht:
page = PAGE
page.typeNum = 0
page.headerData.10 = TEXT
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/temp.html
page.10.marks.INHALT = CONTENT
page.10.marks.INHALT.table = tt_content
page.10.marks.INHALT.select.orderBy = sorting
page.10.marks.INHALT.select.where = colPos=0
page.10.marks.INHALT.select.languageField = sys_language_uid
page.10.marks.BOXEN = RECORDS
page.10.marks.BOXEN {
tables = tt_content
source = 95
dontCheckPid = 1
}
leider funktioniert es nicht. ich weiss wirklich nicht wieso?? Ich habe mich auch im Forum umgeschaut und sehe einfach keinen Fehler?????
Wäre froh um stellungnahme!
Ein Beispiel von einem Projekt von mir. Hier wird zB die Suche und eine best. Seite eingebunden eingebunden:
seite = PAGE
seite {
typeNum = 0
stylesheet = fileadmin/static/style.css
meta.AUTHOR = Johannes Scherg ::: www.foto-scherg.de.tf
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/static/template.html
10.workOnSubpart = DOCUMENT
10.marks {
MAIN = HMENU
MAIN.1 = GMENU
MAIN.1.NO = 1
MAIN.1.NO {
//...
}
SUB = HMENU
SUB.entryLevel = 1
SUB.1 = TMENU
//...
LEFT = CONTENT
LEFT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 1
}
SEARCH = COA
SEARCH {
20 < tt_content.search.30
20.dataArray >
20 {
stdWrap.wrap = <table border=0 cellspacing=0 cellpadding=0 class="orange"><tr> | </tr></table>
layout = <td valign=bottom>###LABEL### ###FIELD###</td>
#params = class="textbox"
#params.submit = class="submit"
#params.textarea = class="textarea"
dataArray{
10.label >
10.type = sword=input,10 # mit der Zahl wird die Größe des Feldes eingestellt
10.value = Suchwort
10.params = onFocus=(this.value=1)
20.label >
20.type = scols=hidden
20.value = pages.title-subtitle-keywords-description:tt_content.header-bodytext-imagecaption
30.type = stype=hidden
30.value = L0
40.type = submit=submit
40.value =
}
image = IMAGE
image.file = fileadmin/static/suche.gif
image.border = 0
image.params = alt="Klicken Sie hier um die Site zu durchsuchen."
image.wrap = |
redirect = 45
}
}
RECHTS = RECORDS
RECHTS {
tables = tt_content
source = 55
dontCheckPid = 1
}
CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
}
}