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   970 Views

Avatar
Breastfed

Community Member, 44 Posts

16 April 2009 at 6:29pm

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

Forum Moderator, 5513 Posts

16 April 2009 at 8:37pm

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

Community Member, 44 Posts

16 April 2009 at 9:14pm

yes! Works!

Thanks willr.