Hi,
I've installed Domain Access and configured 2 domains - each with a different theme. The calendar view (calendar module) should be visible in all domains - the domain-specific menus have links to this view. But the calendar view page is always shown in the theme of the main domain. All other pages and views that are used for all domains in common are shown in the correspondig theme - but not the calendar view. Any idea?
Regards,
Oliver

Comments

agentrickard’s picture

Category: bug » support

Check to see if something in calendar (or another module) is altering the $custom_theme global variable, which is how dynamic theme switching is handled in D6.

If some other module is stepping on it, it's not really a bug here.

Domain Theme provides a 'weight' setting that might solve this problem by letting Domain Theme fire _after_ the other module. That's on the Domain settings page. You might experiment with that.

The actual switching operation happens in domain_theme_init().

oschuetze’s picture

Status: Active » Closed (works as designed)

Thanks. I've set the weight to -100 and now the correct Domain Theme is used.