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

Adam Carlin signup at blissend.com
Fri Jan 27 14:41:07 CET 2006


I just tried this and again, no luck.

Just to let everyone know, I'm using TYPO3 v3.8.0 and the 
Template Auto-parser v0.1.0 (loaded and running). I have had 
success with all steps up till this part in the tutorial.

Hmm, the tutorial was written for an older auto-parser... 
maybe thats a part of the problem?

Adam

Jesús H. wrote:
> Apart from doing what Rob De Vries has said, do not forget to put any 
> content inside the div or td that you're planning to get substituted.
> 
> ie :
> 
> <div id="copy_hz_bar">
> 
> <!-- Swap me -->
> 
> </div>
> 
> Best regards,
> 
> Jesús H.
> 
> 
> Adam Carlin wrote:
> 
>> 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