Hi Leute
ich glaub ich habe gerade einen black out
ich hab ein frameset - und möchte bei einigen menupunkten ein statisches file ausgeben dass im fileadmin bereich liegt
Aber: wie kann ich sagen dass ich bei padeID 7 im content marker das file ausgeben will ??
ich könnte für jede seite ein eigenes template machen, wo ich dann den inhalt nicht mit dem autoparser ausgib aber das muss doch einfacher auch gehen oder ??
dies ist mein setup code
# Standardsprache festlegen
config.locale_all = de_DE@euro
# Einschalten des Spam Schutzes (benötigt allerdings Java) und Angabe in welches Symbol @ umgewandelt wird. Standard: (at)
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
# Sprache der Seite
page.config.sys_language_uid = 1
page.config.language = de
page.config.locale_all = de_DE
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/template/verbandtemplate/content.htm
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
relPathPrefix = fileadmin/template/verbandtemplate/
}
#########################################
# Das Menu erzeugen #
#########################################
temp.menu_1 = HMENU
temp.menu_1.1 = TMENU
temp.menu_1.1 {
target = _top
NO.allWrap = <div class="menu1-level1-no"><img border="0" src="fileadmin/template/verbandtemplate/images/menupfeil_gross.gif" align="absmiddle"> | </div>
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"><img border="0" src="fileadmin/template/verbandtemplate/images/menupfeil_gross.gif" align="absmiddle"> | </div>
}
temp.menu_1.2 = TMENU
temp.menu_1.2 {
target = _top
NO.allWrap = <div class="menu1-level2-no"><img border="0" src="fileadmin/template/verbandtemplate/images/menupfeil_klein.gif" align="absmiddle"> | </div>
ACT = 1
ACT.allWrap = <div class="menu1-level2-act"><img border="0" src="fileadmin/template/verbandtemplate/images/menupfeil_klein.gif" align="absmiddle"> | </div>
}
Code:
# Ermöglicht die Konfiguration des Admin-Panels in der TSconfig der Backenduser
config.admPanel = 1
# Standardsprache festlegen
config.locale_all = de_DE@euro
# Einschalten des Spam Schutzes (benötigt allerdings Java) und Angabe in welches Symbol @ umgewandelt wird. Standard: (at)
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
# Konfigurierung des Plugins Searchbox, wird innerhalb der Seite zugewiesen
# ID der Seite Suchen
plugin.tx_macinasearchbox_pi1.pidSearchpage = 29
plugin.tx_macinasearchbox_pi1.templateFile = fileadmin/suchbox/suchbox.htm
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menu_1### subpart with some content:
subparts.menu_1 < temp.menu_1
# Substitute the ###content### subpart with some content:
subparts.content < styles.content.get
subparts.content.wrap = <!-- TYPO3SEARCH_begin --> | <!-- TYPO3SEARCH_end -->
subparts.test < plugin.tx_macinasearchbox_pi1
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 1
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
#######################################
# Frameset #
#######################################
frameset = PAGE
frameset.typeNum = 0
frameset.frameSet {
cols = 850,*
params = frameborder="NO" border="0" framespacing="0"
1 = FRAMESET
1 {
rows = 107,*,16
1 = FRAME
1.obj = top
1.src = fileadmin/template/verbandtemplate/top.php
1.params = name="top" scrolling="no" noresize
2 = FRAME
2.obj = page
2.params = name="content" scrolling="yes" noresize
3 = FRAME
3.obj = bottom
3.src = fileadmin/template/verbandtemplate/bottom.htm
3.params = name="bottom" scrolling="no" noresize
}
2 = FRAME
2 {
obj = rand
src = fileadmin/template/verbandtemplate/right.htm
params = name="rightFrame" scrolling="no" noresize
}
}
plugin.tt_news {
limit = 5
displaySingle {
image.file.maxW = 130
imageWrapIfAny (
<table align="left" cellpadding="1" cellspacing="0" border="0">
<tr><td>
<table cellpadding="0" cellspacing="0" border="0">
<tr><td> | </td></tr>
</table>
</td></tr>
</table>
)
}
}
# schalte Indizierung ein
content.config.index_enable = 1
plugin.tx_indexedsearch {
show {
rules = 0
parsetime = 0
L2sections = 1
L1sections = 1
LxAlltypes = 1
}
blind {
type = 1
defOp = 1
sections = 1
media = 1
order = 1
group = 1
lang = 1
desc = 1
results = 1
}
}