[Typo3] rlmptmplselector

Amy Thornton amy.thornton at usm.edu
Wed Nov 30 17:29:43 CET 2005


I am having problems making the rlmptmplselector work for my 
templates.  This is the code I have in my setup of my main template:

tt_content.menu.20.2 < styles.sitemap.gs

page.stylesheet = stylesheet*.css
plugin.tx_danewslettersubscription_pi1.sorting_desc = 1
plugin.tx_danewslettersubscription_pi1.sorting_field = sorting
plugin.tx_danewslettersubscription_pi1.mode =
plugin.tx_danewslettersubscription_pi1.mode.noAuthEmail = 0
page.config.language = de
config.tx_loginusertrack_enable = 1

# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
#ontent.file = fileadmin/template/main/template_1.html
content < plugin.tx_rlmptmplselector_pi1
}

plugin.tx_rlmptmplselector_pi1 {
# Template type. Default is "main". Allowed values: "main", "sub"
templateType = main
# Paths to search for templates in HTML file mode (vs. TS mode)
templatePathMain = fileadmin/template/main/
templatePathSub = fileadmin/template/sub/
# Refers to the default template file name to use
# if no value is set for the current page
defaultTemplateFileNameMain = template_1.html
defaultTemplateFileNameSub = c_1.html
# Refers to the default template object to use
# if no value is set for the current page
defaultTemplateObjectMain = 10
defaultTemplateObjectSub = 10

# Contains TEMPLATE objects for TS mode (vs. external HTML file mode)
templateObjects.main =
templateObjects.sub =

# Use the template selected earlier in the rootline of no template was 
selected
inheritMainTemplates = 0
inheritSubTemplates = 1
}

plugin.tx_rlmptmplselector_pi1.templatePathMain = fileadmin/template/main/
plugin.tx_rlmptmplselector_pi1.templatePathSub = fileadmin/template/sub/

Neither the outer template selector nor the content template selector are 
working.  I have been through the documentation of modern template building 
numerous times and can't find what I am doing wrong.  I have also been 
through the documentation for the extension.  Any help would be 
appreciated.  I have spent many hours on this and just can't seem to find 
the problem.  I am a newbie with typo3 so it is probably something simple 
that I am just not seeing.

Thanks for your help and time.


Amy Thornton, Electronic Services Specialist
Information Services, Cook Library
The University of Southern Mississippi
118 College Drive #5053
Hattiesburg, MS 39406-0001
Phone: (601) 266-6668
Fax: (601) 266-6857
E-mail: amy.thornton at usm.edu
http://www.lib.usm.edu/ 





More information about the TYPO3-english mailing list