We've moved! You can find modules, themes and widgets on http://addons.silverstripe.org.
This page will no longer be updated, and disappear soon. Module maintainers, please read our announcement to find out how to add your modules there.

RequireFiles (CSS / JavaScript) on demand [v0.1 Beta]


Maintainer(s): EchoStudios

  • Ever needed to include a Stylesheet or some JavaScript code for a single page? And creating a new page subclass seemed to be overkill? Then this is your solution.

    This simplistic widget allows you to include internal and external Stylesheets and JavaScript files on demand on a per-page basis. To avoid polluting your page with new text from the widget heading, you might want to modify your WidgetHolder template, for example as follows:

    <div class="$ClassName">

    If you've got any questions or problems, don't hesitate to contact me.

  • Released: 2011-02-18

CMS View


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

Comments on this website? Please give feedback.