[TYPO3-core] RFC: #12247: absRefPrefix is prefixed with external js files

Steffen Kamper info at sk-typo3.de
Tue Nov 3 16:39:26 CET 2009


Hi,

This is SVN patch request.

Type: Bugfix

Branches: trunk

BT reference: http://bugs.typo3.org/view.php?id=12247

When using config.absRefPrefix also external files are built with
absRefPrefix + http://... [^]
which leads to wrong urls.

try this with set absRefPrefix:

page.includeJS {
     cooliris = 
http://developer.cooliris.com/shared/resources/js/cookie.js [^]
     cooliris.external = 1
}


Solution:
however absRefPrefix is not needed as it's prefixed in TSFE::setAbsRefPrefix

There were two directories missing (extension) which i added:
typo3/ext
typo3/sysext

There were also 2 array-checks missing which leaded to error msg in 
admPanel, fixed in this patch (v3)

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12247_v3.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091103/637228db/attachment-0001.txt>


More information about the TYPO3-team-core mailing list