Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

multiple javascript problem


Go to End


5 Posts   1606 Views

Avatar
Furious

Community Member, 2 Posts

15 September 2008 at 9:50pm

Edited: 15/09/2008 9:53pm

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

Avatar
Fuzz10

Community Member, 791 Posts

16 September 2008 at 2:53am

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

Avatar
Willr

Forum Moderator, 5523 Posts

16 September 2008 at 10:13am

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

Avatar
Fuzz10

Community Member, 791 Posts

16 September 2008 at 7:02pm

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

Avatar
Furious

Community Member, 2 Posts

16 September 2008 at 11:33pm

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

grtz