Closed (works as designed)
Project:
Domain
Version:
6.x-2.9
Component:
- Domain Theme
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2011 at 04:45 UTC
Updated:
22 Jan 2011 at 09:02 UTC
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
Comment #1
agentrickardCheck 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().
Comment #2
oschuetze commentedThanks. I've set the weight to -100 and now the correct Domain Theme is used.