[TYPO3] CoolUri - relative references

Christopher Torgalson bedlamhotel at gmail.com
Tue Jun 17 16:52:33 CEST 2008


Hi,

On Tue, Jun 17, 2008 at 4:32 PM, PEF <xx at xx.xx> wrote:
> Hi again,
>
> It a (simple) prefix problem. If I prefix the html template file
> references with a slash, the problem is solved.
>
> /fileadmin/css/typo3.css  instead of fileadmin/css/typo3
>
> But this still left me with the automatic generated typo3temp css og js
> file, that aren't prefixed. Any one who knows how to prefix these?


Yes: find the *root cause* of your problems, because what you're
reporting are very strange (and in the case of the second, I would
almost say impossible) problems:

1. In the case of the baseURL setting, your problem is that typoscript
is case-sensitive.

2. I the case of base element failing to resolve relative links, I
would say that it's extremely unlikely that any desktop browser
shipped in the last five years or more could fail to properly resolve
relative links when there is a base element in the head of the
document containing a properly specificed href attribute. Certainly
it's impossible (or it can happen only in conjunction with what must
be a set of incredibly specific circumstances) for it to fail in Mac
IE 5-8, Opera 7.5+, any version of Safari, any version of Firefox, or
any recent Mozilla build in general.

The only thing I have ever seen cause a base element to mess up with
links is when the href attribute does not contain the requisite
"http://".


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list