Configurable default dashboard
drumm - April 12, 2009 - 05:08
| Project: | Dashboard |
| Version: | HEAD |
| Component: | User interface |
| Category: | task |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Right now, the defaults are hard-coded in dashboard.defaults.inc. This is bad, but not too high priority.

#1
This is where the 'presets' or 'defaults' implementation of hook_dashboard() comes in, I think.
#2
Every dashboard instance will want defaults. We shouldn't require two dashboards to be defined for every dashboard, the defaults should come for free.
#3
Hm. In the MySite world I did this by storing defaults under user 0.
But here, I think we can use Presets or defaults in this manner, as the defaults UI would have a secondary argument to specify "for which dashboard this is the default."
Otherwise, we need a default dashboard path in the menu.