Moin,
ich hab mir schön mein Template eigenlesen, das klappt auch prima. Mein Problem ist, das ich das Hmenu an eine bestimmte stelle (da wo ###KLICKPFAD### steht) in meinen html template schreiben will... Das bekomme ich irgendwie nicht hin.
Mag mir bitte jemand helfen? DANKE!
Problem als Bild:
http://www.stevenschulz.de/temp/typo3problem.gif
Mein Setup Auszug:
# Definition of the page-objects
top = PAGE
top.typeNum = 1
# Top-content
top.10 = TEMPLATE
top.10 {
template = FILE
template.file = fileadmin/template/motoraver/menu.html
}
# Configuring the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/motoraver/content_1.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/template/motoraver/
}
# Default PAGE object:
page = PAGE
page.typeNum = 2
page.config.disableAllHeaderCode=1
page.10 =< plugin.tx_automaketemplate_pi1
page.1 = HMENU
page.1 {
special = rootline
special.range =0|-1
1 = TMENU
1.target =_self
1.wrap = <font face="Arial" size="1">|</font>
1.NO.linkWrap = |>
}
outer_frameset = PAGE
outer_frameset.typeNum = 0
# Defining the outer frameset
outer_frameset.frameSet.rows = 263,*
outer_frameset.frameSet.params = border="1" framespacing="0" frameborder="YES"
outer_frameset.frameSet {
1 = FRAME
1.obj = top
1.params = scrolling="NO" noresize frameborder="YES" marginwidth="0" marginheight="0"
2 = FRAME
2.obj = page
2.params = scrolling="YES" noresize frameborder="YES"
}
Mein HTML Auszug:
<body>
<!-- ###DOKUMENT### -->
<div style="left:0px;height:40px;width:auto;">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td class="submenu"><img src="images/fill.gif" width="1" height="5" alt="" /></td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="submenu"><span class="sitepath"> ###KLICKPFAD### First level > Second level > Third level</SPAN></td>
<td class="submenu"><img src="images/fill.gif" width="10" height="1" alt="" /></td>
<td valign="top"><img src="images/cont_subm_schraege.gif" width="7" height="13" border="0" alt="" /></td>
</tr>
</table>
</div>
[/url]