mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
19 lines
702 B
Markdown
19 lines
702 B
Markdown
# 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](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:
|
|
|
|
```yaml
|
|
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.
|