-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Assets group ignored #2477
Comments
It's because you are missing the options param with an inline priority. Frankly, I'm surprised that it worked in 1.5. I can probably create a backward compatible use case for this, but in the meantime, it will be better to fix your references to use options-array format. Should be like this:
|
it works now. Yeah I'm also surprised it worked as this is something I use from day 1. Will have to update this across my sites as I have it in every base twig file. |
I've added a workaround, but this was one of those weird undocumented scenarios that worked before (although I think priority was being lost). Now it will work and keep priority. Although, that said, better to just use the full options array format. |
In the header template of my modular theme i implemented a script that is executed after form submit showing a modal success box. My header.html.twig:
After the new GRAV deferred twig extension and theme updates (agency theme) this script is not processed anymore.
If I change
to
or to
then it's working again. not working:
|
Are you saying
And you are sure you have a The syntax here:
Does not have |
Ok, my fault. Using theme inheritance based on agency theme.
to get my script working? |
Yup, use that. JQuery likes to be loaded in head. |
I'm trying to update to 1.6 but seems like assigning assets to groups doesn't work anymore.
I have this in base twig (html head)
and before the closing body tag I have
but all the generated script's are in the html head section.
Works like a charm in 1.5.10 ...
The text was updated successfully, but these errors were encountered: