I have created a module that hooks into node edit/create and provides a Node Theme dropdown box for selecting a theme that will always be applied to that node. The selection is then stored in a new table (nodetheme) and used with hook_init to set a custom view for that node.
I haven't gotten around to doing the same for Views, but the functionality is needed there as well.
Here is a link to the code, which is also attached: http://ayendesigns.com/testing/drupal/nodetheme.tar.gz
| Comment | File | Size | Author |
|---|---|---|---|
| nodetheme.tar_.gz | 1.48 KB | j. ayen green |
Comments
Comment #1
j. ayen green commentedComment #2
j. ayen green commentedComment #3
stevenpatzPlease attach a proper patch.
Comment #4
LarsKramer commentedIn Drupal 6 and 7 this can be done with the contributed module ThemeKey.