Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Multisite-Plugin for Refinery CMS
Ruby Shell
branch: master

This branch is 2 commits ahead of koa:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
lib
script
spec
tmp
.gitignore
.rvmrc
Gemfile
Rakefile
readme.md
refinerycms-multisite.gemspec

readme.md

Simple Multisite-Plugin for refinery-cms

Idea

With this Plugin you can have Multiple Site in one Refinery-Instance by switching the Menu-Tree and the Style-Sheet based on the hostname.

Integrate in your own Refinery Project

Add following line to your Gemfile:

gem "refinerycms-multisite"

And update your Project by executing the following commands

bundle
rails g refinerycms_multisite
rake db:migrate

Stylesheet

Write your site-specific stylesheet to public/stylesheets.

Entring Site-Data

Go to the Page refinery/sites and add a Start-Site. You have to select the Root-Page and enter the stylesheet-name and all valid hostnames for this site.

How to test

call script/test.sh

Something went wrong with that request. Please try again.