Documented widget config

This commit is contained in:
Christopher Pitt 2015-06-03 13:47:11 +12:00
parent bfeddba670
commit 7af54af305

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)