Project

General

Profile

Actions

Bug #14328

closed

relPathPrefix Problem

Added by old_botawui about 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-09-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions

Also available in: Atom PDF