Bug #14328
closedrelPathPrefix Problem
0%
Description
I tried to use relPathPrefix this way (see Tsref):
page = PAGE
page.typeNum = 0
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/test/test_template.html
relPathPrefix = fileadmin/test/
}
The HTML-Template test_template.html contains only one image-tag. The src attribute should be fixed with relPathPrefix:
<img src="images/logo.gif" width="140" height="70" border="0" alt=""
hspace="0" vspace="0">
I expected the follwing result after using relPathPrefix:
...
<img src="fileadmin/test/images/logo.gif" width="140" height="70"
border="0" alt="" hspace="0" vspace="0">
...
The template is loaded but relPathPrefix doesn't work, the src is still src="images/logo.gif"
(issue imported from #M375)
Updated by Michael Stucki about 20 years ago
This works pretty fine but only with TYPO3 3.7.0+
Unfortunately this is not mentioned in the TSref on typo3.org but it's still not a bug.