Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javascript inclusion order #2

Open
ghost opened this issue Nov 23, 2016 · 1 comment
Open

javascript inclusion order #2

ghost opened this issue Nov 23, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 23, 2016

hi, since we upgraded the extension from 3.4.1 to 3.5.0 the javascript is included before jquery which leads to a popup telling us

Error: The jQuery library has to be included (Hint: use page.includeJS)"

as i saidd, the jquery is included, but unfortunately loads after the extension's javascript. any suggestions how to change the inclusion order? is this a bug which is fixed in higher versions? problem is, we are nailed to 6.2 due to other extension dependencies and higher versions of this extensions require 7.0

thanks for any help

Edit: i saw that you changed the composer.json to require

"typo3/cms": "dev-master"

this practically prevents this extension version from being used by any production installation. is this intended?

@ghost
Copy link
Author

ghost commented Nov 28, 2016

ok, the jquery issue was solved by putting this into page template:

includeJS {
    jquery.forceOnTop = 1
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants