heimrichhannot / contao-haste_plus

GNU Lesser General Public License v3.0
0 stars 4 forks source link

Backend: Javascript in wrong order #12

Closed daniel-berger-nemeth closed 5 years ago

daniel-berger-nemeth commented 5 years ago

Hi, I have the following problem:

screen shot 2018-10-16 at 09 50 12

The javascript files are added before jQuery in the backend, which results in an error.

screen shot 2018-10-16 at 09 55 51

Thanks, Daniel

koertho commented 5 years ago

Please provide your Contao and Haste_Plus version.

daniel-berger-nemeth commented 5 years ago

Contao: Version 4.6.6 Sorry for the stupid question, but where can I see the version of installed dependencies in the contao-manager?

In the changelog.txt of haste-plus I have: ## [1.10.0] - 2018-09-17

koertho commented 5 years ago

Hi, I never used the contao-manager, so I don't know. But the changelog is a good starting point ;)

I don't really think this is a problem of haste_plus, instead it is most likely a problem of an other module changing the assets order again, cause in haste_plus jQuery is added to the beginning of this array.

You can search for that module and change the loading order or change the order with the use of an hook. We recommend to not use haste_plus, if it is possible, use our Utils bundle instead.