silverstripe-blog/docs/en/configuring-widgets.md
2017-09-20 12:15:19 +12:00

702 B

Configuring Widgets

The blog module comes bundled with some useful widgets. To take advantage of them, you'll need to install the SilverStripe widgets module. Widgets are totally optional - so your blog will work just fine without having widgets installed.

You can enable the widgets by adding the following YML config:

SilverStripe\Blog\Model\Blog:
  extensions:
    - SilverStripe\Widgets\Extensions\WidgetPageExtension
SilverStripe\Blog\Model\BlogPost:
  extensions:
    - SilverStripe\Widgets\Extensions\WidgetPageExtension

Once you have widgets installed you'll see the "Widgets" tab in the content section of your blog.