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

Requirements::Block a custom script




13 December 2011 at 11:22pm Community Member, 95 Posts

if i have a custom script on may page controller called bannercycle

--- example ---
// whatever jsscript
      ", 'bannercycle');


How can i block it on a different page controller?

would it be like this    Requirements::block('bannercycle');