www.slf.org.au | Drupal Multisite

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by lucashodge on February 7, 2007 at 12:24pm

I would just like to inform/promote a site that I have worked on for the Sustainable Living Foundation. It is still a work in progress after nearly 2 years of involvement. Now, I have not spent all that time on this site and have built about 15 other sites in this time with drupal among other things. This site started with drupal 4.6 and has made it to 4.7.4. I can't remember all the modules I have utilised or trialed in this period along with two whole themes developments. The theme is shared across all six proposed multi sites but has a specific style file for each site. I have had extensive help from Kelvin Wong on this project especially on the Festival site www.slf.org.au/festival and on the soon to be upgraded calendar site. The Festival site is the main work of the project but I had to lay a lot of groundwork beforehand to enable the site to grow in the future.

Well check it out and especially the Festival site (Hopefully you come along to), and I look forward to seeing you at the next Tuesday night meeting and hearing your feedback.

Luke Hodge and Kelvin Wong
www.slf.org.au

Comments

heck

Posted by sime on February 7, 2007 at 12:30pm

that's a damn fine looking site. I'm more than a bit jealous!

Picky comment - browsing without javascript

Posted by lyricnz on February 17, 2007 at 2:23am

If a user has javascript disabled, the "expand regions" links on

http://www.slf.org.au/directory/index.php?page=introduction&subpage=tips...

Generate 404s. It might be better to simply expand them all, if javascript is disabled.

Simon Roberts
Taniwha Solutions

Hi Luke

Posted by aaryn015 on August 9, 2007 at 5:01am

Hi Luke,

Your setup there is exactly what I am looking for. A main "front" site with subsites that have a slightly different style/colour.

I'm having alot of trouble getting my head around how to do this multisite thing. Do you have any links/articles that helped you get around it? I've looked everywhere over two full days and the closest I have go is knowing that one site was picking up the correct settings.php file. (Admin told me it was writable).

My main problem was selecting a them for each site. e.g. I would upload a new theme to the site/subsite.com directory. It would only be visible in the admin of that domain, but setting it to default would change it on the "front" site as well.

Any tips would be great.

Cheers
Aaryn

Multi sites Symbolic Link Method

Posted by lucashodge on August 15, 2007 at 10:23am

Hi Aaryn,

This may help with getting a multi-site working. If you do not have access to the apache.conf file.

I have done it by creating a symbolic link (linux/apache server) for each sub-site back to the root directory. Therefore I have one code base and in the sites folder I have the following folders:

www.slf.org.au
www.slf.org.au.festival
etc...

Each has a settings.php file that points to a separate database. In my case I share the users across the whole site but each site has different roles and access permissions. You could configure this lot of different ways of course to suit your needs. Each site can have different content, themes, whatever you want.

I have had problems with drupal's bootstrap.inc file in the includes folder. It may be fine in Drupal 5?? The function conf_path() doesn't seem to correctly find the right file so I had to modify for 4.7. I think I have seen some discussion in the forums about this issue.

Multisites

Posted by merrillie on August 10, 2007 at 7:31am

Looks great Luke well done I have only just started working out how Drupal works but over the next few months we are moving all our University Library websites into it, so I need to learn fast.

For Aaryn
I came across this below which has some useful information and links for multiple sites.

Home » Installation and configuration » Drupal Cookbook (for New Drupallers)

C. Creating Multiple Sites On Your Local Computer
http://drupal.org/node/120647

Australia

Group categories

Location

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /