Tested on 2 V2.0 r10024 installations.
When using the exclude parameter in the cms_jquery tag in the head of a template, all files in the list to exclude are still loaded. Not the case in current V1.11/V1.12.
[closed] cms_jquery : exclude doesn't work
Forum rules
Only administrators can post or move items here.
Only administrators can post or move items here.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: cms_jquery : exclude doesn't work
I just tested:
{cms_jquery exclude='jquery,jquery-ui'} and it worked as expected
I had it in the page metadata section of an NCleanBlue page.
{cms_jquery exclude='jquery,jquery-ui'} and it worked as expected
I had it in the page metadata section of an NCleanBlue page.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: cms_jquery : exclude doesn't work
Oh, no need to put the complete file name, then? I'll try this.
Re: cms_jquery : exclude doesn't work
It's working as you wrote it. Until now, I've always successfully used full files names as mentioned in the help page of the tag.
Maybe it could be a good idea to modify the help documentation and give examples with shorthand names.
Maybe it could be a good idea to modify the help documentation and give examples with shorthand names.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: cms_jquery : exclude doesn't work
Yep, I updated the help. Specifying filenames was a bad idea anyways.
as that would mean a breakage on any upgrade if we upgrade the libraries.
as that would mean a breakage on any upgrade if we upgrade the libraries.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: cms_jquery : exclude doesn't work
Absolutely. By the way, I was surprised by this choice to be honest.
French translation coming.
French translation coming.