For interface layout consistency, I needed the option to display the block even if there were no child menus. This essentially only displays the block title, which in my case is the title of the top level active menu item.

Attached is a patch to add the feature. It can be set within the block's configuration.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

imclean’s picture

Please ignore first patch, it's a little messy. Try this one.

mzwyssig’s picture

The patch works fine for me, thanks !

Should be implemented in next version :)

jglynn’s picture

I also need this feature to maintain layout integrity, this should be implemented.

elindberg’s picture

Works perfectly when configuring a menu block from within the administer blocks page, admin/build/block. Thanks! However, doesn't work when configuring from within the Panel nodes (Panels module) add content window. Blocks without submenus are not displayed even with Always show checked (blocks with submenus are displayed).

mbehiels’s picture

+1 for integration

seanB’s picture

I've created a patch for the D7 version based on the patch posted here. Thanks! Could this function be added to the module?

rfc2460’s picture

#6 works for me. Thanks !

lklimek’s picture

Patch #6 works for me on D7 and latest 7.x-2.x, thanks!

It just would be nice if you will:
1. Create a patch in compliance with description here: http://drupal.org/node/265945/git-instructions/7.x-2.x - so it can be applied with patch -p1
2. avoid CR (Windows-style line breaks) :)

zylootino’s picture

@seanB
I have applied the patch but the always show checkbox does not show up in the admin. I have tried uninstalling and re-installing the module.
Any idea?
Thanks

seanB’s picture

You could try checking the form alter. Is it called and does it contain the field?

Pol’s picture

I'm also looking for this.

JohnAlbin’s picture

Issue summary: View changes
Status: Needs review » Closed (won't fix)