[Typo3-dev] Problem Integrating Template

Mathias Schreiber [netfielders] ms at netfielders.de
Thu Aug 14 12:33:15 CEST 2003


Gautam Dey wrote:
> If some body can help me regarding this problem I will be realy greatful 
>  as I am stucked in this place for a long time and not being able to get 
> any way out.

hi gautam,

here is some advise:

a) post you question once
    if you keep on cross posting a lot of people will be quite annoyed 
about that thus not willing to help you at all.

b) you need to set up a subpart so typo3 knows where to start parsing 
your template.
Normally this markers are located directly under the <body> tag and 
above the </body> tag.

Ex:

<body>
<!-- ###DOCUMENT### -->
your template code goes here
<!-- ###DOCUMENT### -->
</body>

Then you need to set up the TypoScript Template like this:

page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/template/test.html
page.10.workOnSubparts = DOCUMENT
      ^^ THIS IS THE NAME OF YOUR MARKER

Take a look at the goLive Tutorial, this way is explained pretty good there.

peace
mathias





More information about the TYPO3-dev mailing list