Hi,

Is it possible to change theme according to the selected node ? So I would like for instance to have a different theme automatically selected when a user goes in to the forum of a site .... Is this possible ?

Gdev

Comments

budda’s picture

You can use taxonomy_theme module to switch theme's based on a nodes taxonomy term.

But to change the theme if the user goes to a forum is done using some phptemplate theme magic.
http://drupal.org/node/46027 explains how based on url path.

--
Ixis (UK) providing Drupal consultancy and Drupal theme design.

gdev’s picture

for organising content ... will this fact make me loose the by you mentioned functionallity wich the taxonomy module could give me ?

Gdev

brenda003’s picture

You can theme different types of nodes. For example, if you want the forum nodes to look different than the "blog" nodes, you could copy node.tpl.php in your themes folder and rename it node-forum.tpl.php, or node-blog.tpl.php for each specific node type.

gdev’s picture

Thanks brenda ... thats usefull ... for wich nodes can I create a specific file ? Do you have any idea ?
\
Gdev

brenda003’s picture

Any node "type". Blog, story, page, forum. Flexinodes and CCK nodes work, too. Anything you can create (under "create content") can be themed seperately.