[Typo3] A question on templates Me too

Bart Aninowski bart at sonik.pl
Fri Feb 18 23:51:29 CET 2005


Uzytkownik "Kairos y Cronos Diseño" <kyc at adinet.com.uy> napisal w wiadomosci 
news:mailman.292.1108766796.8905.typo3-english at lists.netfielders.de...
> Well this just to tell you that you are not alone.
> I just finished to define my first template, I've used Autoparser and 
> nothing happened.
> It seems that  I can't  make the autoparser recognice the areas.
> It look like it searches for cels or part of tables  and it does not see 
> anything, as I am working without tables (all the layout is built on divs 
> and css).
> I've tryed to define them by hand and  I had little or no success.


   DIV.all = 1
    TD.all = 1

whole TS

##########################3 Content Area TEMPLATE 
cObject################################3
temp.contentArea = TEMPLATE
temp.contentArea {
    # Feeding the content from the Auto-parser to the TEMPLATE cObject:
    # CREATES A COPY since we need to manipulate some properties!
  template < plugin.tx_automaketemplate_pi1

    # Reconfigurating the "tmplselect" plugin to select from the
    # "conten area templates " in sub/ folder instead of main templates:
  template.content.templateType = sub
  template.content.defaultTemplateFileName = ct_1.html

    # Since the template files are now located in another path
    # the relative prefix must be changed as well:
  template.relPathPrefix = fileadmin/template/sub/

    # Clears the "elements" property:
  template.elements >
    # Sets the DIV and TD elements to be wrapped in subparts:
    # Wrap the header section but remove <title> and <style> sections:
  template.elements {
    HEAD.all = 1
    HEAD.all.subpartMarker = DOCUMENT_HEADER
    HEAD.rmTagSections = title, style

    DIV.all = 1
    TD.all = 1
  } 





More information about the TYPO3-english mailing list