mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #262 from assertchris/document-widget-config
Documented widget config
This commit is contained in:
commit
e37e1211d8
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user