---
title: "rlmp_tmplselector Newbie Probleme"
url: "https://www.typo3.net/d/76793-rlmp-tmplselector-newbie-probleme"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2008-05-02"
last_reply: "2008-05-02"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# rlmp_tmplselector Newbie Probleme

Allgemein · 0 Antworten · gestartet 2008-05-02

## Eröffnungsbeitrag

**Typ3_08** · 2008-05-02 · [Beitrag #1](https://www.typo3.net/d/76793-rlmp-tmplselector-newbie-probleme/1)

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
}

---

Quelle: „rlmp_tmplselector Newbie Probleme“, typo3.net, https://www.typo3.net/d/76793-rlmp-tmplselector-newbie-probleme
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
