Active
Project:
Multiple Domains
Version:
5.x-1.x-dev
Component:
documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2007 at 08:32 UTC
Updated:
18 Jan 2008 at 00:16 UTC
Here is an example of how to set global configuration variables (e.g. title, homepage URL) for the subdomain.
global $conf;
$conf['site_name']='The title of this domain';
$conf['site_frontpage']='node/244'; // The URL of the page to displayed on the front page of the domain.
The code should go to the 'Initialization code' field of the domain.
My sample multidomain
Comments
Comment #1
druvision commentedContinued:
My sample multidomain site is http://www.levavie.com.
Note: To fetch the site front page URL in the theme:
(The example is taken from the garland theme.
Comment #2
wayland76 commented1. No patch is attached
2. It goes under Documentation.