Jump to:

3431 Posts in 1025 Topics by 864 members

Template Questions

SilverStripe Forums » Template Questions » jQuery error

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

Page: 1
Go to End
Author Topic: 453 Views
  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    jQuery error Link to this post

    Another pitfall...

    SEARCH ENGINE --> Still not working, even with SS Forum help

    IMAGE GALERY MODULE --> still not operating (i gave up) replaced it with a jQuery slider who's <li> is under $Content of the Gallery_page.ss. So clients only have to drop images into /images and add one more <li> line into the HTML CMS viewer.

    To do so, I have developped a simple jQuery slider using sliderViewerPro.

    I tried it on SS site and its not working...

    So i copied the whole code to another site (not SS) which you can see here. And it works.

    http://www.sabinfarley.com/testLi.html

    Back to SS site, it gives me this as an error. Must be conflicting with something. Even tried replacing $ by jQuery. Same thing.

    This line is <head> tags

    Any clue?

    - - -

    Thanks!

  • wilsonStaff
    Avatar
    Community Member
    142 Posts

    Re: jQuery error Link to this post

    SOLVED

    Conflict between several jQuery requests. Solved it by using two methods:

    1) Replaced $ by jQuery in some lines
    2) Re-ordered the Silverstripe jQuery requierements.

    Thanks Willr!

    453 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.