mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Documented widget config
This commit is contained in:
parent
bfeddba670
commit
7af54af305
@ -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