I've set up a virtual site and have gotten the theme changed successfully. My problem is that the blocks do no appear on any of the pages I've set by my condition to display the other theme. I had to use the variables tab to switch the theme, because the option wasn't available in the Theme tab - I only see skip this feature (I'm using a Zen sub-theme). Do I need to add more variables to get the blocks to display? If so, where do I find the proper variable names to use? My theme variables are

theme_default=scic
admin_theme=garland

Thanks for any help you can provide.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kndr’s picture

Try this (see attached pictures):
1) define two conditions: "NOT admin/build/block" and "NOT admin/build/themes",
2) fill php statements for defined conditions,
3) set variables: "theme_default" and "custom_theme" in "Variables" section (both to your default theme),
4) change weight of virtual_site.module to -1 (use utility module http://drupal.org/project/util or change directly in {system} table).

AdamPS’s picture

Issue summary: View changes
Status: Active » Fixed

True, if you use the variables module to set the theme, the change happens too late.

The current version of this module has a sub-module virtual_site_theme that solves this problem.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.