Community & Support

Can user define which theme to use for his content ?

If a user is creating a specific content type, can they be given permissions to set the theme that will be used when a visitor views that content ?

Comments

If they apply a particular

If they apply a particular category to the content type, they can with this module:

http://drupal.org/project/taxonomy_theme

----------------------------------------------------------------------
http://www.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.
Je peux communiquer en français. / Я могу общаться на русском языке.

----------------------------------------------------------------------
http://classicvinyl.biz ~ http://vinylclassics.biz ~ http://jazz.vinylclassics.biz
My YouTube Channel

With the module installed,

With the module installed, you have to define a category and assign it to the content type, before a user can choose a theme for that node ?

From the module description, it sounds as though the user should be able to to choose a theme for a node, without first having a category assigned to the content they are creating.

After you've created the

After you've created the category and assigned it to the content type your users are creating, just created a term for each of your available themes. Then assign each of those terms to the corresponding theme in the taxonomy_theme module. They will show up as a pull-down for your users.

I think that's your best bet for this functionality. If you need to add some custom instructions you could make a small custom module with hook_form_alter.

I want the user to be able

I want the user to be able to create nodes, and assign the theme to that node at the time they create it. Ive looked at the blog_theme node for example, but that forces all the nodes that a user as created to use a single theme. I need the ability for a user to choose their theme each time they create a node. They should be able to have several different nodes, all with a different theme if they want.

I am not sure if that can be

I am not sure if that can be done; however, I do not claim omniscience on all matters related to drupal, and there are scores of people here with more experience than me. I do know that if you use the taxonomy theme module you will be able to differentiate the appearance of a page that is categorized under "apples" from a page that is categorized under "oranges." The more categories you create, the more variation you will have in appearance. It would seem to me that there is enough flexibility in that configuration to allow for several different nodes, each tagged with a different taxonomy term, to give you several different appearances. How many is enough, I do not know.

----------------------------------------------------------------------
http://www.bwv810.com
http://davidhertzberg.com

I am a writer, researcher and solo drupal freelancer.
Je peux communiquer en français. / Я могу общаться на русском языке.

----------------------------------------------------------------------
http://classicvinyl.biz ~ http://vinylclassics.biz ~ http://jazz.vinylclassics.biz
My YouTube Channel

Thanks for the reply. I

Thanks for the reply. I just stumbled on some other discussions and realized I had already been down this road before a few days ago :)

What I need is handled by the node_style module

Although, what I would really like is a small widget of some type that shows up when a user is creating content. Some type of thumbnail preview of the list of themes they have access to. The user could pick from that list and assign it to this and only this node. The user could still have any number of nodes, each using a different theme if so desired.

nobody click here