Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » multiple javascript problem

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1289 Views
  • Furious
    Avatar
    Community Member
    2 Posts

    multiple javascript problem Link to this post

    first off all, excuse me for my english i'm dutch.

    i have a problem with my website, i changed the module gallery a bit.
    I used the smoothgallery scripts instead of the lightwindow scripts.
    I already figured out that when i disable behaviour.js it works fine.

    The only problem is that i don't know what behaviour does and if the site can work properly without it.

    is there another solution so that i can work with multiple javascripts?

    ow here is the site:
    http://drccomputers.be/Dieter/Berluc/brugge

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: multiple javascript problem Link to this post

    Hi , welcome to Silverstripe.

    As far as I know behaviour is indeed conflicting with the gallery.

    I think Silverstripe is currently revising the gallery module , so this issue might by solved in the near future....

  • Willr
    Avatar
    Forum Moderator
    5503 Posts

    Re: multiple javascript problem Link to this post

    removing behavour will break ajax comments and form validation. Normal commenting should work so its only really form validation that it breaks by not including it

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: multiple javascript problem Link to this post

    And Furious, do not forget you can set the JS (and CSS) requirements on a "per class basis".

    See :

    http://doc.silverstripe.com/doku.php?id=requirements&s=requirement

  • Furious
    Avatar
    Community Member
    2 Posts

    Re: multiple javascript problem Link to this post

    thx i'm going to test this.
    Hope it will work.

    grtz

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