Currently it is difficult to edit inline boxes which are empty, we should display some level of 'empty text' if the box is empty and the user has the privileges to edit the box.

Will work on a patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jec006’s picture

Here is a patch which will add some text to the box if it is empty and the person has edit access.

jec006’s picture

Status: Active » Needs review
tirdadc’s picture

There is logic in Context to deal with empty blocks (context_reaction_block.inc and in context.module), but it's not triggered correctly for empty boxes.

I've slightly altered the patch above to check the box title too (not just the content) and to render the empty text like the message from Context when you have empty blocks.

tirdadc’s picture

Assigned: jec006 » tirdadc
Status: Needs review » Fixed

Committed the latest patch.

Status: Fixed » Closed (fixed)

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