Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Multisite-Plugin for Refinery CMS

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 tmp
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 readme.md
Octocat-spinner-32 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.