Jump to:

23380 Posts in 18311 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Silverstripe 2.x and jQuery 7.x (needs updating)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 581 Views
  • Johan
    Avatar
    Community Member
    49 Posts

    Silverstripe 2.x and jQuery 7.x (needs updating) Link to this post

    Hi

    The version of jQuery shipped with the latest download is only v1.4.2.

    jQuery v7.x is a major release. Could you make the CMS compatible with 1.7.x because that version causes CMS functionality to fail when overwriting the original source files with he latest jQuery file?

    Version 1.7.x will be required for things such as Fancybox 2 etc...

    Thanks

  • swaiba
    Avatar
    Forum Moderator
    1786 Posts

    Re: Silverstripe 2.x and jQuery 7.x (needs updating) Link to this post

    Hi Johan,

    thanks for posting your input, but if you would like to influence dev descisions at silverstripe, rather than ask for help
    please raise the issue on open.silverstripe.org or https://groups.google.com/forum/?fromgroups#!forum/silverstripe-dev

    Also note there is nothing to stop you using the jQuery you wish in "non-conflict" mode to achieve your goals I think

  • Johan
    Avatar
    Community Member
    49 Posts

    Re: Silverstripe 2.x and jQuery 7.x (needs updating) Link to this post

    Also note there is nothing to stop you using the jQuery you wish in "non-conflict" mode to achieve your goals I think

    non-conflict is not designed to do that so i am not sure you can. Anyone?

  • swaiba
    Avatar
    Forum Moderator
    1786 Posts

    Re: Silverstripe 2.x and jQuery 7.x (needs updating) Link to this post

    OK, I'll reword that a bit...

    you are not going to get the CMS using a different version of jQuery (without a large effort)
    but you can use anyversion of jQuery in "non-conflict mode" in order to use a certain library needed that version so it doesn't conflict with the version the CMS is using

    But again if you want the CMS to use a differetn version of jQuery I advise you join the dev group and put forward your suggestion there

  • ampedup
    Avatar
    Community Member
    133 Posts

    Re: Silverstripe 2.x and jQuery 7.x (needs updating) Link to this post

    What version of jQuery the CMS uses and what version the front end of the website uses can be completely different.

    Do not overwrite the CMS version of jquery, or any other CMS files. You should not be changing (or adding) any files inside the cms or sapphire directories.

    Put your javascript inside mysite/javascript and include that. That way you can use whatever version you want.

    581 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.