Go to file
James Cocker b380f4ac11 Display a 'Modified' tag in the State column for modified pages 2014-06-12 20:42:32 +01:00
_config Addd GridField component for managing BlogPosts and added composer file 2013-08-10 23:34:46 +01:00
css Display a 'Modified' tag in the State column for modified pages 2014-06-12 20:42:32 +01:00
extensions 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
forms/gridfield Display a 'Modified' tag in the State column for modified pages 2014-06-12 20:42:32 +01:00
images 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
javascript Added blog type dropdown to gridfield 2013-08-04 17:38:26 +01:00
lang Display a 'Modified' tag in the State column for modified pages 2014-06-12 20:42:32 +01:00
model MINOR: BlogPost: Sets Title label to "Post Title", instead of misleading "Page name" 2014-06-11 10:20:20 +01:00
screenshots Added screenshots 2014-03-23 15:12:11 +00:00
scss Display a 'Modified' tag in the State column for modified pages 2014-06-12 20:42:32 +01:00
templates removed redundant templates 2013-08-11 02:08:00 +01:00
tests FIX: Corrected checks for date validation in archive method and added supporting tests 2014-04-10 13:44:17 +01:00
widgets Fix: Prevent inheritance of the default cms fields within widgets. 2014-05-08 21:08:44 +01: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
.travis.yml updated composer 2013-10-10 00:22:12 +01:00
LICENSE updated license filename 2013-08-10 23:59:48 +01:00
README.md Added screenshots 2014-03-23 15:12:11 +00:00
_config.php Added blog type dropdown to gridfield 2013-08-04 17:38:26 +01:00
composer.json 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
config.rb Addd GridField component for managing BlogPosts and added composer file 2013-08-10 23:34:46 +01:00

README.md

Silverstripe Blogger

Build Status

A fresh take on blogging in Silverstripe set out to tackle the issue of a cluttered Site Tree.

Requirements

silverstripe/cms: ~3.1

Suggested Modules

silverstripe/widgets: *
silverstripe/comments: *

Installation

composer require micmania1/silverstripe-blog:1.0.*

Features

  • Blog Posts extend SiteTree so no Page functionality is lost by using DataObject's.
  • Blog Posts can be listed in the SiteTree OR in a GridField within the blog, removing clutter for large blogs.
  • Filter blog posts by category
  • Filter blog posts by tag
  • Full blog Archive by Year, month or day
  • 4 widgets included (category listing, tag listing, archive & recent posts).
  • Publish Date - Set a blog post to publish in the future.
  • Custom GridField components for quickly adding new objects.
  • RSS Feed of the blog

Screenshots

Easily manage and add new blog posts through a GridField.

Quickly add new tags and categories.

Usage

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

By default, blog posts are filtered out of the SiteTree to avoid clutter and instead put in a GridField inside of the blog. If you wish to display the blog posts within the site tree you can do so using Silverstripe config.

YAML

BlogPost:
  show_in_sitetree: true

PHP

<?php
Config::inst()->update("BlogPost", "show_in_sitetree", true);

Doing this will remove the GridField & result in a normal behaving SiteTree.

Theme

You can download a blog sub-theme of Silverstripe's default 'Simple' theme: https://github.com/micmania1/simple_blog