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   416 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, 137 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