#1162 - Automated virtual roots (based on modules running out of zones)

Identifier #1162
Issue type Feature request or suggestion
Title Automated virtual roots (based on modules running out of zones)
Status Open
Tags

Risk: Database change (custom)

Type: Cross-cutting feature (custom)

Handling member Deleted
Addon core_abstract_interfaces
Description For any category type that currently supports virtual roots, add a new database field: Virtual root zone. This is unset by default ("-1"), but may be set to the name of a zone.

If set, then:
1) When viewing from that zone, the virtual root will automatically be the one you selected
2) When browsing the module from a different zone, ones set to a wrong zone should not show in the hierarchy
3) The site-tree should be aware of this too, not just category browsing. So as long as you have a transparent redirect for a module, the site-tree will have that module and have its categories coming off that.

Two extra things we need to do:
a) If you select a category as being virtual root for a zone foo, save, and another category already was, unset it from that other category, and tell the user that this has happened.
b) When saving, auto-create a transparent redirect to the zone specified, if it does not yet already exist. Again, tell the user that this has happened.
Steps to reproduce

Additional information By doing this we are allowing Composr to operate for much bigger websites without having to do too much hackery.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated