The concept of this module is *exactly* what I need, but I can't seem to get it working.

When I attempt to assign a block reference field, I get this:

    * warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/edworks_drpl/includes/form.inc on line 1213.
    * warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/edworks_drpl/includes/form.inc on line 1213.

(url ex: /admin/content/node-type/page/fields/field_headerimg_block?destinations[0]=admin%2Fcontent%2Fnode-type%2Fpage%2Ffields)

I decided to power on and see what happened. Possibly unrelated, but probably not, the select fields show no labels in the options (see attached screenshot). The result of a selection of one of the empty spaces DOES work as desired, but it kind of hard to know what block you just picked.

I expect this is a pretty simple fix to the form code. Unfortunately my familiarity with the forms api is lacking. I'm trying. ;D

Comments

foxydot’s picture

Title: Warning and no label on options » Warning on field creation and no label on options
danielb’s picture

yep somethings broken there

danielb’s picture

Status: Active » Fixed

I've done some more work on the module, and I'm not having this problem anymore. Though I didn't explicitly fix it :/ New releases coming.

foxydot’s picture

Working great for me now! Very much appreciate your work and responsiveness!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.