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.