Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 42 lines (23 sloc) 1.224 kb

Refinery CMS Blog

Simple blog engine for Refinery CMS. It supports posts, categories and comments.

This version of refinerycms-blog supports Rails 3.0.x. To use Rails 2.3.x use the refinerycms-blog "Rails 2.3.x stable branch".

Options:

  • Comment moderation
  • ShareThis.com support on posts. Set your key in Refinery's settings area to enable this.

Requirements

Refinery CMS version 1.0.0 or above. Your Rails 3 application should not be called "blog"

Install

Open up your Gemfile and add at the bottom this line:

You now have two options:

Take the blue pill and stay on 1.7.x

gem 'refinerycms-blog', '~> 1.7.0'

Take the red pill and head up to 1.8.x

Where the previous shared/_post.html.erb partial was moved directly into show.html.erb

MEANING: If you depend on that partial, you'll have to check the changes and merge your customizations back in!

gem 'refinerycms-blog', '~> 1.8.0'

Now, run bundle install

Next, to install the blog plugin run:

rails generate refinerycms_blog

Finally migrate your database and you're done.

rake db:migrate
Something went wrong with that request. Please try again.