[TYPO3-core] RFC: #16735: Inclusion of js/css for loadResourcesForRegisteredNavigationComponents lacks loading order

Steffen Kamper info at sk-typo3.de
Mon Dec 13 17:23:07 CET 2010


Hi,

This is an SVN patch request.

Type: bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=16735

Branches:
Trunk

in backend.php there is a function to load resources for registered 
navigation components. It loads all existing files in css and javascript 
dir. (loadResourcesForRegisteredNavigationComponents)

1) there is no extension filter (only load *.js and *.css)
2) In most cases you need a special loading order.

For the order solution is a simple textfile included in the loading dir 
(loadorder.txt) with all scripts to be loaded in the correct order.

This is needed for the pagetree component, otherwise the loading order 
is incorrect and lead to js errors.

If no loadorder.txt is found, files will be included in native order.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16735.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101213/9687aa80/attachment.asc>


More information about the TYPO3-team-core mailing list