[TYPO3] Auto-Parser doesn't seem to work

Adam Carlin signup at blissend.com
Thu Jan 26 00:03:02 CET 2006


I can't seem to get my parser working. I have been following 
the modern template building tutorial but I'm stuck on 
configuring the parser. All that shows after configuring is 
a blank page showing nothing when viewing source code.

Here is what I have...

# Configuring the auto-parser:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/templates/version1/overlay.htm
# Define parts to be wrapped:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
DIV.all = 1
}
# Prefix paths with this first:
relPathPrefix = fileadmin/templates/version1/
}

# Default PAGE Object:
page = PAGE
page.typeNum = 0
page.config.disableAllHeaderCode=1
page.10 =< plugin.tx_automaketemplate_pi1

Here is my overlay.htm file...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Blissend.com | Bliss In The End</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="site_header_bg">
<img src="graphics/logo.gif" style="position:relative; 
width:259px; height:68px; top:0px; left:0px;" />
</div>
<div class="navigation_bg">
<div class="nav_font">
Example Navigation
</div>
</div>
<div class="content_holder_bg">
Example Content
</div>
<div class="copy_hz_bar">
</div>
<div align="center">
garbage text for now
</div>
</body>
</html>

My page structure...

Mysite.com (a shortcut to home below with template record)
+ home (empty page without content)
+ morejunk (ditto)
+ etc.

Things I have tried without luck...
+ Making all tags that can be parsed have newlines so that 
it has something in it. I've read somewhere this could be a 
problem if it doesn't have this content. This still a problem?
+ Changing the setup so that it works on subparts to display 
content.
+ Changing the disable all header code from 1 to 0. It then 
displays something in the source code.
+ I have also doubled checked to see if the autoparser was 
installed and that the overlay.htm exist in that path.

Off topic here... but does using modern template building 
give me more control than templaVoila? Also, is the 
autoparser being replaced by templavoila?

Just started using TYPO3 today, so I'm sorry if these 
questions are already answered on the site. Any help would 
still be appreciated 8)



More information about the TYPO3-english mailing list