Closed (works as designed)
Project:
Boxes
Version:
7.x-1.0-beta6
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2011 at 01:54 UTC
Updated:
14 Mar 2012 at 17:06 UTC
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).

| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot at 2011-12-30 09:54:00.png | 81.42 KB | rogical |
Comments
Comment #1
tirdadc commentedCan you please provide more information on how to reproduce this?
Comment #2
jec006 commentedHi,
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.
Comment #3
tirdadc commentedBasically 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.