Posted by rogical on December 30, 2011 at 1:54am
3 followers
Jump to:
| Project: | Boxes |
| Version: | 7.x-1.0-beta6 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (works as designed) |
Issue Summary
Notice: Undefined index: boxes-add-simple-2 in dashboard_page_build() (line 188 of /opt/difang/dev/pjkaixin/modules/dashboard/dashboard.module).
Notice: Undefined index: boxes-add-simple--2 in dashboard_page_build() (line 188 of /opt/difang/dev/pjkaixin/modules/dashboard/dashboard.module).
Notice: Undefined index: boxes-add-simple-2--2 in dashboard_page_build() (line 188 of /opt/difang/dev/pjkaixin/modules/dashboard/dashboard.module).
| Attachment | Size |
|---|---|
| Screenshot at 2011-12-30 09:54:00.png | 81.42 KB |
Comments
#1
Can you please provide more information on how to reproduce this?
#2
Hi,
I believe the issue here is related to the strange way that boxes 'add a custom box' works.
I think that it is a block by itself, and then it gets replaced in context with the box that is created. However, since dashboard isn't using context ui, it doesn't appear to be working correctly.
I would advise creating a new box through the block admin screen and then adding that box instance to the dashboard. I believe this will resolve the errors you're having.
#3
Basically all the 'add custom ____ box' blocks shouldn't be placed directly in a context as they are there for Context UI usage to trigger the creation of new boxes.
You should create your custom box through either through Context UI's drag and drop mechanism or the links visible at the top of /admin/structure/block and then place that box in the context.