Posted by agentrickard on March 24, 2009 at 2:39pm
2 followers
| Project: | Domain Access |
| Version: | 6.x-2.0-rc6 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Currently, there are a number of admin functions -- Domain Conf, Domain Theme, Domain Content, Domain Prefix -- that force the user to switch domains to perform an administrative task.
This was easier to support in the early versions, since domain-specific variables and rules load automatically. However, the addition of Domain Alias makes many of these jumps undesirable.
We need to reconfigure these forms so they can work from any active domain, loading the proper variables as needed.
Comments
#1
I just committed the first step to this patch, which adds a domain_set_domain($domain_id) function and alters domain_content to work with the new function.
Next up: domain_cron() and domain_conf.
#2
This has been completed in HEAD.
Note the new function domain_set_domain($domain_id, $bootstrap = FALSE), which will simulate the loading of alternate domains.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
It looks like domain_set_domain() is not loading variables as expected for the root domain.
#5
The attached patch fixes this issue and vastly improves domain_conf_variable_get().
#6
Committed to HEAD.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.