We have a nascent site which uses several completely different designs. Is there a simple way to attach a specific theme to a specific node, such that all of the pages which relate to the internal blog use the internal_blog theme (that would be the main page, the comments page, etc.), but the external blog could use an entirely unrelated external_blog theme?

Is the better way to do this through using og or multi-site? If so, can someone point me to an example and/or documentation? We're still feeling our way into this and making some intriguing mistakes....

Comments

wpd’s picture

There are many ways to do this.
You can change the template based on the node type, the path, or even the user role.
There is a ton of information in the handbook about customizing and themeing: http://drupal.org/node/257
Here a specific page that will lead to what you need (I think):
http://drupal.org/node/46006

White Paper Designs

adavidow’s picture

I am having =some= success with the technique described in http://drupal.org/node/46027 , but it only seems to work on groups, so far, not any old node, and not for things like "admin". I am using 4.6.6.

I think that the problem is deeper than just the theme. I need to be able to change the contents of various blocks for different sections of the site. Is there a best practice for this?

wpd’s picture

If you want multiple sites with a shared user base then you can do a multisite install.
http://drupal.org/node/43816

(I have used 4.7 for a long time, so this may not work under 4.6)
You can set a block visibility for given page.
So you create all the variations of blocks. Then set the visibility for a given path.
This will probably not work for a large number of variations.

White Paper Designs