Hello,
I have installed the Domain Access module on D6 and activated several modules: Domain configuration, Domain content, Domain navigation, Domain theme and Domain user.
It all works very well (the creation of subdomains by user registration, etc.).
Regarding the Domain theme module, I am able to change manually the theme of each subdomain.
2 questions.
- Is there a way to change the theme for subdomain automatically?
- Is it possible to define a default theme for subdomains which is different than the root site default theme? I would need to have a default subdomain theme which is different than the root site theme when a new subdomain is created (e.g. when by new user registration).

Comments

agentrickard’s picture

The answers would be 'yes, if you can write the code to support it.' Use hook_domainupdate() in your module to act on new domain creation.

If not, this is a feature request, which will have to wait #298696: * ROADMAP * Please read this first

Popolo-1’s picture

Category: support » feature

Thanks.
I am not skilled to code by myself (unfortunately).
I will change this support request to a feature request.

agentrickard’s picture

Version: 6.x-1.1 » 6.x-1.2
Status: Active » Postponed

And it is now officially postponed until the other issues above are finished.

shushu’s picture

As part of a module I am working on - domain_rules - I implement new Rules Action that sets a theme to a given domain.

This can be triggered when a domain is being created, and accordingly set the "default" theme.

Will this feature satisfies the feature as described ?

Regards,
Shushu

agentrickard’s picture

Status: Postponed » Closed (won't fix)