Skip to content

unculture/silverstripe-blog

 
 

Repository files navigation

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

Packages

No packages published

Languages

  • PHP 84.8%
  • Scheme 6.2%
  • CSS 5.8%
  • JavaScript 2.5%
  • Ruby 0.7%