[Typo3-windows] Problem with configuring the auto parser extension
Jean-Baptiste BANG NTEME
jbang.nteme at gmail.com
Mon Oct 3 19:08:13 CEST 2005
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
}
# 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"
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
More information about the TYPO3-windows
mailing list