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

Including jQuery first


Reply

2 Posts   319 Views

Avatar
MrChimp

22 June 2013 at 4:36am Community Member, 6 Posts

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

22 June 2013 at 9:41am Community Member, 135 Posts

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