Hi@all
Ich habe ein Menü erstellt mit ne Submenü also so ungefähr:
Homepage
-Submenü1
-Submenü2
-Submenü3
Kotakt
usw.
Wenn ich auf ein Submenü klicke will ich das eine HTML-Datein geladen wird. Wo schreibe ich diesen Befehl zum Aufrufen des Templates denn hin? Und was auch wichtig ist. Was schreibe ich dahin...hab igrendwas von Content gelesen, aber ich versteh das mit dem content in der Doku nicht...kann da jemand helfen?
thx4all
hä???
was für eine html datei???
ein anderes template???
genauere erklärung bitte
Ich habe also eine Art Tabelle. Diese wird von einem "Ur"-Template erstellt und wird an die anderen Seiten vererbt nun will ich in diese Tabelle noch eine html datei hineinladen, also so gesehen in eine Zelle.
Du verstehn ?
per template oder per content-typ html???
wie per content oder template?
Ich habe ein Template als "Ur"-HTML die auf die anderen Seiten vererbt wird. Dabei wird immer eine Tabelle erstellt. Und in eine Zelle dieser Tabelle soll ein anderes Template von mir aus bzw. HTML-File geladen werden.
ich meinte du könntest auch einen marker einbauen und in den marker
ein html datei (inhaltstyp einbauen )
aber anders geht es auch ich hab es mal im forum irgendwo gelesen aber
hab gerade keinen erfolg gehabt beim suchen
Muss ich dann was in den Content eintragen oder so?
Oder reicht es wenn ich es in die "Ur"-Html setze?
Kurz: Wo muss ich Was hineinschreiben um die HTML zu laden
################################## Form stuff
tt_content.mailform = COA
tt_content.mailform {
10 < lib.stdheader
20 = FORM
20 {
REQ = 1
layout = <tr><td valign="top">###LABEL###</td><td>###FIELD###</td></tr>
data.field = bodytext
stdWrap.wrap = <table border="0" cellspacing="0" cellpadding="4" class="formular">|</table>
recipient.field=subheader
target = _top
redirect.field = pages
redirect.listNum = 0
locationData = 1
badMess = Please fill out the following fields:
}
}
################################## Menu stuff
temp.top_menu = HMENU
temp.top_menu.special= directory
temp.top_menu.special.value = 2
temp.top_menu.1 = TMENU
temp.top_menu.1.wrap = <td class='tab'>|</td>
temp.top_menu.1.NO.ATagParams= class='tab'
temp.top_menu.1.NO.linkWrap= |</td><td><img src='fileadmin/templates/images/tabs_spacer.gif' border='0'></td><td class='tab'>|*||*||
temp.menu = HMENU
temp.menu.1 = TMENU
temp.menu.1 {
NO.allWrap = <tr><td width='20' style='border-bottom: 2px solid #bdbfc1; border-right: 1px solid #73758b; background-color: #f8a27d' valign='middle' align='center'><div style='color: white'>></div></td><td class='menu1'>|</td></tr>
NO.ATagParams = class='menu1'
ACT = 1
ACT.allWrap = <tr><td width='20' style='border-bottom: 1px solid #bdbfc1; border-right: 1px solid #73758b; background-color: #f0573a' valign='middle' align='center'><div style='color: white'>v</div></td><td class='menu1_act'>|</td></tr>
ACT.ATagParams = class='menu1_act'
}
temp.menu.2 = TMENU
temp.menu.2 {
NO.allWrap = <tr><td width='20' style='border-bottom: 1px solid #bdbfc1; border-right: 1px solid #73758b; background-color: #bdbfc1'> </td><td class='menu2'>|</td></tr>
NO.ATagParams = class='menu2'
ACT = 1
ACT.allWrap = <tr><td width='20' style='border-bottom: 1px solid #bdbfc1; border-right: 1px solid #73758b; background-color: #bdbfc1'> </td><td class='menu2_act'>|</td></tr>
ACT.ATagParams = class='menu2_act'
}
temp.menu.3 = TMENU
temp.menu.3 {
NO.allWrap = <tr><td width='20' style='border-bottom: 1px solid #bdbfc1; border-right: 1px solid #73758b; background-color: #bdbfc1'> </td><td class='menu3'>|</td></tr>
NO.ATagParams = class='menu3'
ACT = 1
ACT.allWrap = <tr><td width='20' style='border-bottom: 1px solid #bdbfc1; border-right: 1px solid #73758b; background-color: #bdbfc1'> </td><td class='menu3_act'>|</td></tr>
ACT.ATagParams = class='menu3_act'
}
temp.menu.4 = TMENU
temp.menu.4 {
NO.allWrap = <tr><td width='20' style='border-bottom: 1px solid #bdbfc1; border-right: 1px solid #73758b; background-color: #bdbfc1'> </td><td class='menu3'>|</td></tr>
NO.ATagParams = class='menu4'
ACT = 1
ACT.allWrap = <tr><td width='20' style='border-bottom: 1px solid #bdbfc1; border-right: 1px solid #73758b; background-color: #bdbfc1'> </td><td class='menu3_act'>|</td></tr>
ACT.ATagParams = class='menu4_act'
}
################################## Template stuff
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/templates/template.html
elements {
BODY.all = 1
BODY.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
relPathPrefix = fileadmin/templates/
}
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.MENU < temp.menu
subparts.TOP_MENU < temp.top_menu
subparts.MAIN < styles.content.get
}
temp.headTemplate = TEMPLATE
temp.headTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
################################## Page stuff
page = PAGE
page.typeNum = 0
page.10 < temp.mainTemplate
page.headerData.10 < temp.headTemplate
Vielleicht versteht ihr es damit besser oder könnt mir damit besser helfen