[Typo3-windows] Problem with configuring the auto parser extension

bernd pier berndpier at arcor.de
Tue Oct 4 12:24:17 CEST 2005


>
> Message: 1
> Date: Mon, 3 Oct 2005 18:08:13 +0100
> From: Jean-Baptiste BANG NTEME <jbang.nteme at gmail.com>
> Subject: [Typo3-windows] Problem with configuring the auto parser
>     extension
> To: typo3-windows at lists.netfielders.de
> Message-ID:
>     <mailman.922.1128359295.10463.typo3-windows at lists.netfielders.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi to all,
>
> I'm a newbee in using Typo3.
> I downloaded and installed the dummy package on my local machine.
> W2k, easyphp.
> I followed the tutorial on Modern Template building, Part 1 (MTB/ 
> 1), till I
> got to the point of rendering the final page.
>
> *The problem :
>
> The CSS specifications and the images don't display.*
> The backslashes signs "/" between the folders " main" and "res";
> "main" and "image" are missing.
>  Could this possibly be a bug in the automaketemplate 0.1.0 extension?
>
> ----------------------------------
>
> *This is what I wrote in the SETUP field of the page* :
>
> # Configuring the Auto-Parser:
> plugin.tx_automaketemplate_pi1 {
> #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.subpartMaker = DOCUMENT_BODY
>
> HEAD.all
> HEAD.all.subpartMaker = DOCUMENT_HEADER
> HEAD.rmTagSections = title
>
> TD.all 1
> }
>
> # Prefix all relative paths with this value:
> relPathPrefix = fileadmin/template/main
this should be "relPathPrefix = fileadmin/template/main/" remind the  
slash behind "main".
> }
>
> # Default PAGE object:
> page = PAGE
> page.typeNum = 0
> page.config.disableAllHeaderCode = 1
>
> page.10 =< plugin.tx_automaketemplate_pi1
>
>
> ----------------------------
>
> *When I look at the source code of the html page I understand that  
> some
> paths didn't display well* :
>
> *I have this* :
>  <link href="fileadmin/template/*mainres/*stylesheet.css"  
> rel="stylesheet"
you see adding the slash at the end of the relPathPrefix will solve  
your problem.
> type="text/css" />
>  *instead of* :
> <link href="fileadmin/template/*main*/*res*/stylesheet.css"  
> rel="stylesheet"
> type="text/css" />
>
> <!-- Header image row: -->
> <tr>
> <td colspan="2" id="header_1"><img
> src="fileadmin/template/*mainimages*/headerimage.jpg"
> width="600" height="100" alt="" border="0" /></td>
>
>
> *instead of* :
> ...<img src="fileadmin/template/*main*/*images*/headerimage.jpg"...
>  Thks in advance,
>  Best regards.
>  Jean-Baptiste
>
>
have a nice day and goog luck
bernd



More information about the TYPO3-windows mailing list