Merge pull request #262 from assertchris/document-widget-config

Documented widget config
This commit is contained in:
Damian Mooyman 2015-06-03 13:56:55 +12:00
commit e37e1211d8

View File

@ -2,6 +2,18 @@
The blog module comes bundled with some useful widgets. To take advantage of them, you'll need to install the [SilverStripe widgets module](https://github.com/silverstripe/silverstripe-widgets). Widgets are totally optional - so your blog will work just fine without having widgets installed. The blog module comes bundled with some useful widgets. To take advantage of them, you'll need to install the [SilverStripe widgets module](https://github.com/silverstripe/silverstripe-widgets). 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:
```yml
Blog:
extensions:
- WidgetPageExtension
BlogPost:
extensions:
- WidgetPageExtension
```
Once you have widgets installed you'll see the "Widgets" tab in the content section of your blog. Once you have widgets installed you'll see the "Widgets" tab in the content section of your blog.
![](_images/widgets.png) ![](_images/widgets.png)