Closed (fixed)
Project:
Domain
Version:
6.x-2.0-rc6
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2009 at 14:39 UTC
Updated:
21 Jun 2009 at 18:40 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 412156-conf.patch | 4.32 KB | agentrickard |
| #1 | 412156-no-switch.patch | 2.19 KB | agentrickard |
Comments
Comment #1
agentrickardI 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.
Comment #2
agentrickardThis has been completed in HEAD.
Note the new function domain_set_domain($domain_id, $bootstrap = FALSE), which will simulate the loading of alternate domains.
Comment #4
agentrickardIt looks like domain_set_domain() is not loading variables as expected for the root domain.
Comment #5
agentrickardThe attached patch fixes this issue and vastly improves domain_conf_variable_get().
Comment #6
agentrickardCommitted to HEAD.