Go to file
Cam Findlay d2b93669ff DOCS Updating information about BlogMigrationTask
This no longer automatically runs during dev/build. Migration should be conscious decision to run when a developer decides to update and avoids the risk of accidentally migrating on a live site when perhaps this was not the intention. I mention the move from 1.0 to 2.0 as this is a safe migration that some version old versions. Likely the upgrade path would be best if (1) Upgrade you really old blog up to 1.0 (2) Update your codebase to 2.0 code (3) Run the migration task.
2015-06-28 12:01:19 +12: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 Merge pull request #277 from camfindlay/migrate 2015-06-27 22:31:03 +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 Updated translations 2015-05-18 20:35:38 +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 Fix string member IDs breaking permission checking 2015-06-04 11:50:25 +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 Updating travis provisioner 2015-06-15 10:01:44 +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 Updated Tag Field version 2015-05-25 14:00:39 +12: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