Actions
Bug #45374
closedabsRefPrefix and File Storages
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-02-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
We encountered a problem with file storages that are not equal to fileadmin. Wie included css or javascript files via the includeCSS or includeJS file and the absRefPrefix part is not prepended to them. If the file storage points to fileadmin, the absRefPrefix is prepended.
Example:
config.absRefPrefix = / page.includeCSS.css1 = Resources/Public/StyleSheets/style1.css page.includeCSS.css2 = fileadmin/css/style2.css
The output is:
<link rel="stylesheet" type="text/css" href="Resources/Public/StyleSheets/style1.css" media="all" /> <link rel="stylesheet" type="text/css" href="/fileadmin/css/style2.css" media="all" />
The same problem occurs with javascript files.
I can avoid this problem if I use:
page.includeCSS.css1 = /Resources/Public/StyleSheets/style1.css
But this is not the correct handling, I think.
Actions