[TYPO3] Trouble using rlmptmplselector

Christian Leicht usenet at schani.com
Fri Jun 22 22:00:43 CEST 2007


Hello all,

i have a problem using the TemplateSelector:

First question: Is it necessary to use automaketemplate with 
rlmptmplselector?  The most howto´s are using automaketemplate and 
rlmptmplselector. I do not ned automaketemplate.

The css file will include in HTML output, but the template files not!?


Can someone help me?

Thanks a lot

This is my current TS in rootlevel:

config {

   admPanel = 0
   simulateStaticDocuments = 1
   simulateStaticDocuments_pEnc = md5
   simulateStaticDocuments_addTitle = 30
   disablePrefixComment = 1


   stat = 1
   stat_apache = 1
   stat_apache_logfile = ebner.log
   #stat_mysql = 1

   debug = 1
}


plugin.tx_rlmptmplselector_pi1.templPathMain = fileadmin/templates/layouts/
plugin.tx_rlmptmplselector_pi1.templPathSub = 
fileadmin/templates/layouts/sub/
plugin.tx_rlmptmplselector_pi1.defaultTemplateFileNameMain = 
standard_l-3-r.html


temp.mainTemplate  = TEMPLATE
temp.mainTemplate {

   template =< plugin.tx_rlmptmplselector_pi1
   template.content.templateType = main

   workOnSubpart = DOCUMENT_BODY

}



page = PAGE
page {
   typeNum = 0
   admPanelStyles = 1
	headerData {
	10 = TEXT
	10.value < temp.CSS
  	}

   config {
     cache = 1
     no_cache = 0
     doctype = xhtml_trans
     xhtml_cleaning = all
     index_enable = 1
     metaCharset = utf-8
     additionalHeaders = Content-Type:text/html;charset=utf-8
   }

}

page.10 < temp.mainTemplate





This is my Template html:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<title></title>
<link href="../css/main.css" rel="stylesheet" type="text/css"/>
<!--[if lte IE 7]>
<link href="../css/explorer/ie_main.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<!-- ###DOCUMENT_BODY### start -->
		<div id="all">
	
......


		</div>
<!-- ###DOCUMENT_BODY### stop -->
		
</body>
</html>


More information about the TYPO3-english mailing list