Project

General

Profile

Actions

Bug #22120

closed

absRefPrefix is not added to inline CSS url

Added by Robert Heel almost 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-02-15
Due date:
% Done:

0%

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

Description

If config.absRefPrefix = http://test.org/ is set in typoscript
background-image:url(abs.png);

in the templated is replaced by
background-image:url(fileadmin/templates/abs.png);

But it should be
background-image:url(http://test.org/fileadmin/templates/abs.png);

Extract the attached content to fileadmin/templates/, install automaketemplate and insert TS:
config.absRefPrefix = http://test.org/
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/templates/abs.html
elements {
BODY.all = 1
HEAD.all = 1
HEAD.rmTagSections = title
TD.all = 1
}
relPathPrefix = fileadmin/templates/
}
  1. Default PAGE object:
    page = PAGE
    page.typeNum = 0
    page.config.disableAllHeaderCode=1
    page.10 =< plugin.tx_automaketemplate_pi1

(issue imported from #M13540)


Files

abs.tar.bz2 (2.35 KB) abs.tar.bz2 Administrator Admin, 2010-02-15 11:22
Actions

Also available in: Atom PDF