Go to file
Damian Mooyman 6321417bc4 Merge pull request #302 from JorisDebonnet/patch-2
Sort BlogPosts in the CMS by PublishDate
2015-10-23 17:35:56 +13:00
_config Comment notification extensions 2015-04-09 16:03:30 +12:00
.tx Add translations to transifex 2015-04-22 16:17:09 +12:00
code Default PublishDate to NULL for drafts and sort them at the top 2015-10-23 00:40:25 +02: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
_config.php NEW Decouple gridfield stuff into lumberjack module 2015-01-29 10:49:48 +00: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 Move to new travis containerised infrastructure 2015-07-20 15:59:29 +01: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
LICENSE updated license filename 2013-08-10 23:59:48 +01:00
README.md Update README to include additional requirements 2015-10-16 10:24:29 -05:00

SilverStripe Blog Module

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Features

Requirements

silverstripe/cms: ~3.1
silverstripe/lumberjack: ~1.1
silverstripe/tagfield: ^1.0

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