
Zitat von
Stefan_G
Hi,
für dein Beispiel kannst du es so machen:
//Stefan
Danke für deine schnelle Antwort, irgendwie wird jedoch der Inhalt nicht geladen... der Quelltext der Seite:
HTML-Code:
<div id="footer">
<div id="footer_1">
<!-- ###FOOTER_1### start -->
<!-- ###FOOTER_1### stop -->
</div>
<div id="footer_2">
<!-- ###FOOTER_2### start -->
<!-- ###FOOTER_2### stop -->
</div>
<div id="footer_3">
<!-- ###FOOTER_3### start -->
<!-- ###FOOTER_3### stop -->
</div>
</div>
Mein Extension-Template:
HTML-Code:
temp.contenteins=RECORDS
temp.contenteins{
tables=tt_content
source=25
dontCheckPid = 1
}
temp.contentzwo=RECORDS
temp.contentzwo{
tables=tt_content
source=26
dontCheckPid = 1
}
temp.contentdrei=RECORDS
temp.contentdrei{
tables=tt_content
source=27
dontCheckPid = 1
}
und mein kompletter TS-Code aus dem Haupttemplate:
HTML-Code:
page = PAGE
page.stylesheet = uploads/tf/main.css
page {
config.doctype = xhtml_11
config.disablePrefixComment = 1
# Designvorlage integrieren
10 = TEMPLATE
10.template = FILE
10.template.file = uploads/tf/index.htm
10.workOnSubpart = DOCUMENT_BODY
10.subparts.INHALT_MITTE < styles.content.get
# den Platzhalter ansprechen
10.marks.HAUPT_NAVI = HMENU
10.marks.HAUPT_NAVI {
special = directory
special.value = 2
entryLevel = 0
wrap = <div id="navibereich">|</div>
1 = TMENU
1 {
expAll = 1
wrap = <ul id="ebene01">|</ul>
NO = 1
NO.wrapItemAndSub = <li id="navi{field:uid}"><strong>|</strong></li>
NO.wrapItemAndSub.insertData = 1
NO.doNotLinkIt = 1
ACT < .NO
ACT.ATagParams = id="current"
}
2 < .1
2 {
wrap = <ul class="ebene02">|</ul>
NO.wrapItemAndSub = <li id="navi{field:uid}">|</li>
ACT.ATagParams = id="current_ebene2"
}
3 < .2
3 {
wrap = <ul class="ebene03">|</ul>
NO.wrapItemAndSub = <li id="navi{field:uid}">|</li>
NO.doNotLinkIt = 0
ACT.ATagParams = id="current_ebene3"
}
}
}
#footer
page.10.subparts.FOOTER = COA
page.10.subparts.FOOTER_1 < temp.contenteins
page.10.subparts.FOOTER_2 < temp.contentzwo
page.10.subparts.FOOTER_3 < temp.contentdrei
Und nochmal die Ordner:

Irgendwie muss da nochn Fehler sein... weiß nich warum der Inhalt nicht eingeladen wird :/