Go to file
Daniel Hensby 3a62155f66
Merge branch '2.0' into 2.1
2017-07-20 10:29:50 +01:00
.tx Add translations to transifex 2015-04-22 16:17:09 +12:00
_config Comment notification extensions 2015-04-09 16:03:30 +12:00
code FIX Dont generate urlsegments if we dont need to 2017-07-19 17:42:46 +01:00
css Merge pull request #208 from A7DC/category-ux 2015-04-28 14:25:28 +12:00
docs Documented widget config 2015-06-03 13:47:11 +12:00
images included icon for move button, ensured link is 100% width 2015-04-23 15:14:43 +12:00
js API Improve sizing of blog sidebar 2015-04-23 14:30:58 +12:00
lang Update translations 2015-08-20 11:13:22 +12:00
scss Merge pull request #208 from A7DC/category-ux 2015-04-28 14:25:28 +12:00
templates Cleaned up mixture of tabs and whitespace in PostSummary template 2015-06-03 13:18:17 +12:00
tests BUG Fix canview for non-admins 2015-07-09 15:15:39 +12:00
.gitignore ENHANCEMENT: Updated Blog to allow for better subclassing. You can now set different show_in_sitetree config options on subclasses. Also done some cleanup 2014-02-16 07:48:44 +00:00
.scrutinizer.yml Added better Scrutinizer support 2015-05-13 00:12:21 +12:00
.travis.yml Remove HHVM from test builds 2017-07-19 17:47:04 +01:00
LICENSE updated license filename 2013-08-10 23:59:48 +01:00
README.md DOCS Updating information about BlogMigrationTask 2015-06-28 12:01:19 +12:00
_config.php NEW Decouple gridfield stuff into lumberjack module 2015-01-29 10:49:48 +00:00
composer.json Update composer constraints for tagfield 2015-09-24 14:58:17 +01:00
config.rb Remove comments CSS from blog and into comments module 2015-04-21 15:15:15 +12:00

README.md

SilverStripe Blog Module

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Features

Requirements

silverstripe/cms: ~3.1

Suggested Modules

silverstripe/widgets: *
silverstripe/comments: *

Installation

composer require silverstripe/blog 2.0.x-dev

Upgrading legacy blog to 2.0

If you're upgrading from blog version 1.0 to 2.0 you will need to run the BlogMigrationTask. Run the task using dev/tasks/BlogMigrationTask either via the browser or sake CLI to migrate your legacy blog to the new version data structure.

Usage

Because your blog is part of the SiteTree, usage is the same as any other page.

By default, blog posts don't appear in the SiteTree, to avoid clutter. Instead they appear inside your blog as a GridField.

If you'd rather display your posts within the SiteTree, you can do so using SilverStripe config.

In mysite/_config/settings.yml

BlogPost:
  show_in_sitetree: true