Community & Support

Revisions are using default theme instead of using specified theme

Hi guys,

First time posting here. I searched several days for an answer. But it seems that no one asked about this before.

I'm using Virtual Sites module to theme the different subdirectory sites. However, when i'm using Revisions and Revisioning, it uses default theme rather than the theme that is specified in Virtual Sites. I tried Themekey and Node Type Theme to see if I can control the theme when viewing the page such as /node/1/revisions. But no luck there (maybe i didnt use it correctly although i think i did). Anyone know how to preview those revisions in the right or correct theme?

Here is an example site setup:

www.university.edu (theme default)
www.university.edu/department1 (theme1)
www.university.edu/department2 (theme2)
www.university.edu/department3 (theme3)

Basically, while department people are creating, editing, previewing current/pending/previous revisions, is there a way to view those pages in the specified theme instead of going default? I currently am using Administration Theme since it looks better than using the theme that is set as default.

Another related question:
Also, is there a way to preview whole page template view when viewing revision? It seems that it only keeps the revision of node rather than the whole page. I setup a block where you can select a different promo per page. And, that isn't being saved as a revision. Using Node Reference in CCK and CCK Block, I added the node reference block to the block area on the right so I can choose a different promo (content type) from the node reference dropdown per page. Do you think i have to call those blocks from the node.tpl.php directly to make it work? Will there be any performance issues?

BTW, this is my first drupal project. I'm creating multisite in a single database configuration so that those multisites can share certain contents on the main university site.

Thanks in advance!

Comments

Revisions only apply to the

Revisions only apply to the nodes.

---
"Nice to meet you Rose...run for your life." - The Doctor
My first public Drupal site - EyeOnThe503

Thanks

I guess you are right. It looks like it is because I'm using CCK Block to create blocks of CCK fields. By doing this, I was able to Node Reference and display a unique promo per page. For this, I had to hide ("Exclude" under Display Field) the actual Node Reference in the node because otherwise I will see two of same promos, one in the right column (where I want it to be) and another one under the body (which I don't want to repeat). But I dont really understand why those virtual sites, themekey, or node type theme doesn't work in revision view...

I guess I may have to hire a firm to do the rest of the development.

nobody click here