I want to get multiple sites running on one Drupal installation, to get communities that are each bent towards a different aspect of the online community. To achieve this, I need to do a little tricking around with the way themes work.

First: How do I set up a code at the end of a page that will automatically switch a user's theme, similar to Drupal Garden? That way, a certain web URL can link to a page with a tag like this, so that users entering from one direction will get the theme that their site wants to use. Also: am I correct in assuming that once this code works, it will last even when the user goes to other pages?

Second: I need to make blocks that will only show up in one theme. Is it possible to make blocks per theme, rather than per node?

Thanks!

Comments

rory--’s picture

What do the individual blocks settings do? If I change things on one of them, it changes on all of them. Help! >_>

cooperaj’s picture

Is there a problem with running a multisites installation? Or does that not meet your needs?

rory--’s picture

No, it doesn't. I need to run it on a fairly limited server size, one server only, and keep all the users integrated. I thought it was possible to cstomize blocks (hence multiple options) but that doesn't work well, either...

rory--’s picture

Any help?

rory--’s picture

This is kinda annoying. I've installed some new themes, and the individual blocks settings stay the same. Ugh...

In other news: ANYBODY know the answer to this?

rory--’s picture

Here's what I need, in a nice (small) list...

1) A little tag at the end of a URL that changes themes, like Drupal's Theme Garden.

2) A way to change block layouts in each theme.

One more bump and I'll add this as support request to Drupal CVS, since I'm not getting any responses here.