[Typo3] Templavoila a few questions (javascript & css)

Eckbert P. Dollhofer lista at selbstdenker.ag
Mon Sep 19 13:04:15 CEST 2005


Ries van Twisk wrote:
> Hey Eckbert,
> 
> I can answer a few of them...
> 
>> Hi all,
>>
>> 1. I am using tv with a javascript rich html template.
>> All normal image paths are correctly rewriten bei typo3 to something 
>> like filadmin/templates/images....
>> But in the javascript parts where there is no scr=<path-to-image> the 
>> rewriting does not happen.
>> Whats the best way to deal with that? Should I hard code the paths or 
>> is there an easy way to rewrite eg everyting that starts with images/
>>  
>>
> I am not sure what you mean by this, can't help you with it...

^^^it just looks like this for example:

<body onload="preloadImages('images/menue_startseite_on.jpg')">
and thereis no image under image/menue_startseite_on.jpg but under
fileadmin/templates/stand20050901/images/menue_startseite_on.jpg

The problem is - how can i tell typo3 to replace those parts as well 
with the correct path.




More information about the TYPO3-english mailing list