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.

General Questions

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

Interrupted Javascripts after Login


Reply

3 Posts   938 Views

Avatar
Breastfed

16 April 2009 at 6:29pm Community Member, 44 Posts

Hello

i have a few jQuery Scripts on my SS - Site.
They work fine as long i dont login.
After a Login the jQuery Scripts seem to be interupted.

Doesn't matter if i am a Admin or ForumMember.

Does anybody know why?

Thanks!

Avatar
Willr

16 April 2009 at 8:37pm Forum Moderator, 5511 Posts

Does being logged in include any extra JS that you don't have when you are not logged in?. Have you used the jQuery template like http://doc.silverstripe.com/doku.php?id=jquery#examples - note the function($) at the top which prevents it from conflicting with the prototype code on the site

Avatar
Breastfed

16 April 2009 at 9:14pm Community Member, 44 Posts

yes! Works!

Thanks willr.