[closed] cms_jquery : exclude doesn't work

Forum rules
Only administrators can post or move items here.
Post Reply
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 257
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

[closed] cms_jquery : exclude doesn't work

Post by Franck »

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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: cms_jquery : exclude doesn't work

Post by calguy1000 »

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.
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.
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 257
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

Re: cms_jquery : exclude doesn't work

Post by Franck »

Oh, no need to put the complete file name, then? I'll try this.
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 257
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

Re: cms_jquery : exclude doesn't work

Post by Franck »

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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: cms_jquery : exclude doesn't work

Post by calguy1000 »

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.
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.
User avatar
Franck
Dev Team Member
Dev Team Member
Posts: 257
Joined: Tue Jun 12, 2007 1:29 pm
Location: France

Re: cms_jquery : exclude doesn't work

Post by Franck »

Absolutely. By the way, I was surprised by this choice to be honest.

French translation coming.
Post Reply

Return to “Closed Issues”