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

Including jQuery first


Go to End


2 Posts   1139 Views

Avatar
MrChimp

Community Member, 6 Posts

22 June 2013 at 4:36am

I would like to include jQuery on all pages of my site.

I would also like to include a jQuery plugin on some pages.

My problem is that scripts included with <% require %> in Layouts/whatever.ss are included before those in Page.ss.

How can I get around this?

Avatar
Nobrainer Web

Community Member, 138 Posts

22 June 2013 at 9:41am

I'm not sure i understand your problem, but have you been reading: http://doc.silverstripe.org/framework/en/reference/requirements