Jump to:

23471 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Requirements::Block a custom script

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

Page: 1
Go to End
Author Topic: 2036 Views
  • merrick_sd
    Community Member
    95 Posts

    Requirements::Block a custom script Link to this post

    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');

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.