[TYPO3-core] RFC: Fix some broken media relations

Franz Holzinger franz at fholzinger.com
Tue Feb 28 21:35:53 CET 2006


Hello Sebastian,


>Hi,
>this is a cvs patch request.
>
>Michael just notified me that the static templates were broken -  I
>found out this related to our move of the media/ directory. I fixed the
>static template SQL file accordingly.
>
>Besides that, I stumbled about some possible errors regarding
>tmenu_layers, gmenu_layers and tmenu_foldout. I think in a symlink-free
>installation, these won't work. Unfortunately I don't have a test
>install here right away to test this. Can somebody please confirm that
>issue?
>
>If this issue exists (which I strongly think so) - can you check if the
>attached patch fixes the problems?
>
>Thanks,
>Sebastian
>PS: Some lines are re-written because the ending spaces are stripped
>automatically in my editor - thus the diff is a bit larger.
>  
>
You have forgotten something:

> $GLOBALS['TSFE']->additionalHeaderData['gmenu_foldout']='<script
> type="text/javascript"
> src="'.$GLOBALS['TSFE']->absRefPrefix.'media/scripts/jsfunc.foldout.js"></script>';

Maybe a marker should be used for

> typo3/sysext/cms/tslib/media/uploads

Tell me how I shall test this or email me and I give you access to my
test server.

Greets,

Franz









More information about the TYPO3-team-core mailing list