Zum Inhalt springen

rlmp_tmplselector Newbie Probleme

Erstellt am 2. Mai 2008 · Noch keine Antworten

Tags: Frage

Typ3_08 ·

Hallo Leute!

Ich bin noch recht frisch mit Typo3 unterwegs.
Und bräuchte dringend eure Hilfe.
Ich habe mit rlmp_tmpselector versucht zwei templates anzusprechen. Könnte mal jmd. mein Code durchforschten und Fehler ausmerzen???
Vielen Dank schon mal

# Templateselecter
plugin.tx_rlmptmplselector_pi1.templatePathMain = fileadmin/templates/BITE_Template/main/
plugin.tx_rlmptmplselector_pi1.templatePathSub = fileadmin/templates/BITE_Template/sub/

page.meta.DESCRIPTION = BITE Business Managers
page.meta.KEYWORDS = Internet, Homepage, Typo3
page.includeCSS {
file2 = fileadmin/templates/BITE_Template/css/{$tpl}_text.css
file3 = fileadmin/templates/BITE_Template/css/layout_t3.css
}
#page.includeLibs.tmenu_layers = fileadmin/templates/BITE_Template/scripts/tmenu_layers.php
page.headerData.1 = TEXT
page.headerData.1.value (
<!--[if IE]>
<style type="text/css">
@import url(fileadmin/templates/BITE_Template/css/style_ie.css);
</style>
<![endif]-->
)
# <script type="text/javascript" src="fileadmin/templates/BITE_Template/scripts/menu.js"></script>
#)

page.bodyTag = <body>
page.shortcutIcon = fileadmin/templates/BITE_Template/img/favicon.ico

### Default content template
temp.objPageMainContent = TEMPLATE
temp.objPageMainContent {
template = FILE
template.file = fileadmin/templates/BITE_Template/main/layout1.html
workOnSubpart = DOKUMENT
subparts {
INHALT < styles.content.get
MENU_TOP < temp.menuTop
MENU_OBEN < temp.MenuOben
MENU_LINKS < temp.MenuLinks
ROOTLINE < tmp.breadcrump
INHALT_LINKS < styles.content.getLeft
# INHALT_LINKS.select.pidInList = 2
INHALT_RECHTS < styles.content.getRight
SITENAME = TEXT
SITENAME < temp.seitenTitel
SUCHE < temp.suche
TITEL_RAND < temp.getHeaderBorder
INHALT_RAND < styles.content.getBorder
SITE = TEXT
SITE.value = {$sitename}
SITESUBTITLE = TEXT
SITESUBTITLE.value = {$sitenamesubtitle}
# LAST_UPDATE < styles.content.lastUpdate
SPRACHE < temp.language
COPYRIGHT < temp.copyright
}
marks {
PAGE_UID = TEXT
PAGE_UID.field = uid
SUCHLABEL = TEXT
SUCHLABEL = {$eingabevalue}
HEADERTITLE = TEXT
HEADERTITLE.value = {$headertitle}
HEADERTITLEZWEI = TEXT
HEADERTITLEZWEI.value = {$headertitleh3}
LOGINUSERLABEL = TEXT
LOGINUSERLABEL.value = {$loginuserlabel}
LOGINPASSLABEL = TEXT
LOGINPASSLABEL.value = {$loginpasslabel}
LOGINFORGOTLABEL = TEXT
LOGINFORGOTLABEL.value = {$loginforgotlabel}
}
}

### Content with two columns
temp.objMainContent2 = TEMPLATE
temp.objMainContent2 {
template = FILE
template.file = fileadmin/templates/BITE_Template/sub/layout2.html
workOnSubpart = DOKUMENT
subparts {
INHALT < styles.content.get
MENU_TOP < temp.menuTop
MENU_OBEN < temp.MenuOben
MENU_LINKS < temp.MenuLinks
ROOTLINE < tmp.breadcrump
INHALT_LINKS < styles.content.getLeft
# INHALT_LINKS.select.pidInList = 2
INHALT_RECHTS < styles.content.getRight
SITENAME = TEXT
SITENAME < temp.seitenTitel
SUCHE < temp.suche
TITEL_RAND < temp.getHeaderBorder
INHALT_RAND < styles.content.getBorder
SITE = TEXT
SITE.value = {$sitename}
SITESUBTITLE = TEXT
SITESUBTITLE.value = {$sitenamesubtitle}
# LAST_UPDATE < styles.content.lastUpdate
SPRACHE < temp.language
COPYRIGHT < temp.copyright
}
}

### The Startpage
#temp.objPageMainStart = TEMPLATE
#temp.objPageMainStart {
#template = FILE
#template.file = fileadmin/templates/BITE_Template/start.html
#workOnSubpart = ...
#}

### Configurating the Template Selector
temp.objMainContent = TEMPLATE
temp.objMainContent {
tx_rlmptmplselector.title = Layout1
tx_rlmptmplselector.imagefile = fileadmin/templates/BITE_Template/img/pageContentMain.gif
template = COA
template.10 < temp.objPageMainContent
}
temp.objMainContent2 = TEMPLATE
temp.objMainContent2 {
tx_rlmptmplselector.title = Layout2
tx_rlmptmplselector.imagefile = fileadmin/templates/BITE_Template/img/pageContentMain2Cols.gif
template = COA
template.10 < temp.objMainContent2
}
#temp.objMainStart = TEMPLATE
#temp.objMainStart {
#tx_rlmptmplselector.title = Hauptvorlage - Startseite
#tx_rlmptmplselector.imagefile = fileadmin/templates/BITE_Template/img/page_main_start.gif
#template = COA
#template.10 < temp.objPageMainStart
}

### Templateselector Core Definitions
page = PAGE
page.typeNum = 0

plugin.tx_rlmptmplselector_pi1 {
templateObjects.main {
10 < temp.objMainContent
20 < temp.objMainContent2
#30 < temp.objMainStart
}
templateObjects.sub {
}
defaultTemplateObjectMain = 10
defaultTemplateObjectSub = 20
inheritMainTemplates = 0
inheritSubTemplates = 0
}