This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Josh French (author)
Tue Jun 24 07:53:39 -0700 2008
| name | age | message | |
|---|---|---|---|
| |
README | ||
| |
Rakefile | Fri Jun 20 11:37:08 -0700 2008 | |
| |
app/ | ||
| |
db/ | Fri Jun 20 11:37:08 -0700 2008 | |
| |
lib/ | ||
| |
multi_site_extension.rb | ||
| |
public/ | Fri Jun 20 11:37:08 -0700 2008 | |
| |
spec/ | ||
| |
vendor/ |
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/
*** THIS EXTENSION REQUIRES THE 'SHARDS' EXTENSION TO BE INSTALLED ***
== 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 radiant:extensions:multi_site:update
4) Restart your server
== Acknowledgments
Thanks to Digital Pulp, Inc. for funding the initial development of this
extension as part of the Redken.com project.







