[TYPO3-english] Template folder on automaketemplate

Sergio Catalá Gil scatala at iti.upv.es
Thu Nov 26 17:37:52 CET 2009


Hi list, 

I'm reorganizing my template files and I would like to put them on a
folder outside "fileadmin". It doesn't seem possible on automaketemplate
extension.

I've got the next code:

plugin.tx_automaketemplate_pi1 {
  content = FILE
  content.file = media/home/templates/page.html
  elements {
    HEAD.all = 1
    HEAD.all.subpartMarker = DOCUMENT_HEADER
    BODY.all = 1
    BODY.all.subpartMarker = DOCUMENT_BODY
  }
  relPathPrefix = media/home/templates/
}

but it displays a blank page as if template file wouldn't exist
(permissions and path is right). 

Thanks in advance, 
Sergio





More information about the TYPO3-english mailing list