Skip to content

julesce/refinerycms-pods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refinery CMS Pods

Manageable little side-pods for your Refinery CMS website. Depends on the following engines:

This version of refinerycms-pods supports Rails 3.2.x. and upwards. Designed to work with the asset pipeline.

Requirements

Refinery CMS version 2.0.x.

Install

Open up your Gemfile and add the following:

gem 'refinerycms-pods', '~> 2.1.0'

Now, run:

bundle install

Next, run:

rails generate refinery:pods

Migrate your database:

rake db:migrate

And hook up the seed data:

rake db:seed

Usage

Take a look at the /app/assets/stylesheets/variables.scss file to set a couple of variables.

The following will render any pods assigned to your current @page:

<%= render :partial => 'refinery/pods/shared/pods' %>