[TYPO3] Trouble using rlmptmplselector

Gisle Eiksund utpost at gmail.com
Sat Jun 23 17:29:20 CEST 2007


Hi,
You need to give the DOCUMENT_BODY something to work on

workOnSubpart = DOCUMENT_BODY
colNormal < styles.content.get
}

in witch case the "colNormal" is the marker in the template.
This is also reflected in the backend TS config of the root page, where  
colNormal is 0.
styles.content.getLeft would be 1. And right - and so on. It can be  
extended - of course.

mod.SHARED.colPos_list = 1,0,2
I belive this is the default.

1=left 2=right

I dont think you need automaketemplate, althow I never tried.
This is old stuff, and I recommend the documentation for accuracy.

Keep it up
gisle

On Fri, 22 Jun 2007 22:00:43 +0200, Christian Leicht <usenet at schani.com>  
wrote:

> 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