[Typo3] Template Auto-parser
Amy Thornton
amy.thornton at usm.edu
Fri Oct 28 23:24:50 CEST 2005
I am in the tutorial Modern Template Building, Part 1 on the part about
using the template auto-parser. I have inserted the content in the Setup
field below:
# Configuring the Auto-Parser:
plugin.tx_automaketemplate_pil {
# Read the template file:
content = FILE
content.file = fileadmin/template/main/template_1.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/template/main/
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.config.disableAllHeaderCode=1
page.10 =< plugin.tx_automaketemplate_pil
When I preview the page is blank. I checked my permissions on the files
involved and they are all set correctly. Has anyone encountered this
problem?
Thank you for your time. Amy
Amy Thornton, Electronic Services Specialist
Information Services, Cook Library
The University of Southern Mississippi
118 College Drive #5053
Hattiesburg, MS 39406-0001
Phone: (601) 266-6668
Fax: (601) 266-6857
E-mail: amy.thornton at usm.edu
http://www.lib.usm.edu/
More information about the TYPO3-english
mailing list