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
Comment #1
agentrickardThe 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
Comment #2
Popolo-1 commentedThanks.
I am not skilled to code by myself (unfortunately).
I will change this support request to a feature request.
Comment #3
agentrickardAnd it is now officially postponed until the other issues above are finished.
Comment #4
shushu commentedAs 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
Comment #5
agentrickard