public
Description: An extension for Radiant CMS that lets you serve multiple sites (domains) from a single instance.
Homepage:
Clone URL: git://github.com/radiant/radiant-multi-site-extension.git
Josh French (author)
Fri Nov 20 15:02:22 -0800 2009
commit  b83347515c2ee8d1748cc2f6948c8d0a5d302cb1
tree    8a7040ea6d9c28b4897f51004a4df4a236d1dff6
parent  d4b19fd553ffc3f32b0de1af1f0c52ebd0b9d794
name age message
file README Wed Jan 28 19:00:11 -0800 2009 update installation instructions Signed-off-by... [zapnap]
file Rakefile Sat Dec 13 08:48:43 -0800 2008 updated Rakefile to run specs [Clinton R. Nixon]
directory app/ Fri Nov 20 15:02:22 -0800 2009 Also don't capture JavaScript when we don't nee... [Josh French]
directory db/ Fri Jun 20 11:37:08 -0700 2008 Import from old repository. [seancribbs]
directory lib/ Fri Nov 20 11:53:49 -0800 2009 Updates for 0.9 compatibility [Josh French]
file multi_site_extension.rb Fri Nov 20 14:10:51 -0800 2009 Add regionsets [Josh French]
directory public/ Fri Jun 20 11:37:08 -0700 2008 Import from old repository. [seancribbs]
directory spec/ Fri Jun 19 10:41:43 -0700 2009 Respect config defaults [Josh French]
directory vendor/ Mon Apr 20 11:25:55 -0700 2009 Don't need to store these in a plugin as long a... [Josh French]
README
= Multi Site

Created by Sean Cribbs, November 2007. Inspired by the original virtual_domain
behavior.

Multi Site allows you to host multiple websites on a single Radiant
installation.

Each site has its own independent sitemap/page-tree and these attributes:

  name: Whatever you want to call the site
  domain: A Ruby regular expression (without the //) to match the request
          against
  base_domain: A canonical domain name for doing quicker matches and for
               generating absolute URLs against
  homepage_id: The numerical database ID of the root page (usually
               you can just leave this alone).

Included images are slightly modified from FamFamFam Silk Icons by Mark James:
http://www.famfamfam.com/lab/icons/silk/

== Installation

1) Unpack/checkout/export the extension into vendor/extensions of your 
   project.

2) Run the extension migrations.

  $ rake production db:migrate:extensions

3) Run the extension update task.

  $ rake production radiant:extensions:multi_site:update

4) Restart your server

== Other Extensions

Multi Site allows you to customize routes within your other extensions. To
restrict a route to a particular site, pass the site's name into the
conditions hash:

   map.resources :things, :conditions => { :site => 'My Site' }

You can also scope a route to multiple sites with an array:

   map.resources :things, :conditions => { :site => ['My Site', 'Your Site'] }

== Acknowledgments

Thanks to Digital Pulp, Inc. for funding the initial development of this
extension as part of the Redken.com project.