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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Interrupted Javascripts after Login


Go to End


3 Posts   1657 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, 5523 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.