i m new in Drupal, first day

i installed 7.x-2.3 menu_block on Drupal 7.14 (copied to sites/all/modules and then turned on "Menu Block" and "Menu Block Export" in admin/modules)

so, after link "Add block" in admin/structure/block there is no "Add menu block" like on image

..and that is why as i suppose i can't creat menu block on my web site (except core module "Menu")
what's wrong?


#14 menu_block_access.1653234-14.patch509 bytesmrP
Members fund testing for the Drupal project. Drupal Association Learn more


JohnAlbin’s picture

Status: Active » Postponed (maintainer needs more info)

I have no idea why this would be. Try disabling the module and re-enabling it. There's something goofy with the menus on your site and doing that should rebuild the menus properly.

sirjay’s picture

thank you for answering
i ll do my best to figure out an error

martinhansen’s picture

I'm having the exact same problem. Disabled and reenabled the module several times. Tried with both 2.3 and 2.0, using drupal 7.12.

I'm not too familiar with drupal 7... is it relevant where modules are located? I mean - sites/all/modules vs default/all/module vs profiles/[name]/modules/contrib...


Installed modules:
calendar 7.x-3.0
captcha 7.x-1.0-beta2
Chaos tool suite (ctools) 7.x-1.0
comment_notify 7.x-1.0
context 7.x-3.0-beta2
Date 7.x-2.2
Debut 7.x-1.0-beta3
Debut Article 7.x-1.0-beta6
Debut Bio 7.x-1.0-beta1
Debut Blog 7.x-1.0-beta7
Debut Comment 7.x-1.0-beta4
Debut Event 7.x-1.0-beta7
Debut Highlighted 7.x-1.0-beta3
Debut Link 7.x-1.0-beta4
Debut Media 7.x-1.0-beta7
Debut Section 7.x-1.0-beta5
debut_seo 7.x-1.0-beta2
debut_social 7.x-1.0-beta3
debut_wysiwyg 7.x-1.0-beta5
ds 7.x-1.5
entity 7.x-1.0-rc1
eva 7.x-1.x-dev (2011-Sep-19)
features 7.x-1.0-beta6
file_admin 7.x-1.0-alpha1
follow 7.x-1.0-alpha1
forward 7.x-1.3
globalredirect 7.x-1.4
gtranslate 7.x-1.7
jcarousel 7.x-2.6
l10n_update 7.x-1.0-beta3
libraries 7.x-1.0
link 7.x-1.0
logintoboggan 7.x-1.3
media 7.x-1.2
media_browser_plus 7.x-1.0-beta3
media_gallery 7.x-1.0-beta7
media_vimeo 7.x-1.0-beta4
media_youtube 7.x-1.0-beta2
menu_block 7.x-2.0
metatag 7.x-1.0-alpha4
migrate 7.x-2.3
multiform 7.x-1.0-beta2
nice_menus 7.x-2.1
openoutreach 7.x-1.0-beta8
panels 7.x-3.2
pathauto 7.x-1.0
plupload 7.x-1.0
profile2 7.x-1.2
rabbit_hole 7.x-1.2
service_links 7.x-2.1
skinr 7.x-2.0-alpha1
strongarm 7.x-2.0-rc1
styles 7.x-2.0-alpha8
subprofiles 7.x-1.0
token 7.x-1.0
translation_management 7.x-1.0-beta1
transliteration 7.x-3.0
views 7.x-3.3
views_slideshow 7.x-3.0
wysiwyg 7.x-2.1+13-dev (2012-Feb-18)

JohnAlbin’s picture

menu block 7.x-2.0 is not compatible with the newest Drupal 7 release. You need to use 7.x-2.3.

fsvoderwitz02’s picture

Hey Folks, if got the Same Problem.

Using 7.14 and now updated to 7.19 and in both Systems the link is not shown in the Blockview. I allready tried different Things, the dev-Version, activate and deactivate the Modul and nothing happened.

I'm thankfull for any informations.
Thanks in advance.

agio’s picture

Ciao all,
same issue described by fsvoderwitz02 to me updating from 7.18 to 7.19.

I presume this is an issue generated by D 7.19 release.

Thanks in advance for any help (I'm not able to address this by myself).

joel_osc’s picture

I have the same symptom, don't know if this is what caused it for you. If you log in as an administrator user that is not 'admin' you cannot administer menu_blocks even if you have "administer blocks" and "administer menus and menu items" enabled for the role 'administrator'. Problem is one character - in the following lines 'administer menus' should be 'administer menu':

 * Determine whether the user has permission to use menu_block module.
function menu_block_access($account = NULL) {
  return user_access('administer blocks', $account) && user_access('administer menus', $account);

Should be:

 * Determine whether the user has permission to use menu_block module.
function menu_block_access($account = NULL) {
  return user_access('administer blocks', $account) && user_access('administer menu', $account);
matthewv789’s picture

For me this seemed to be a problem in the dev release, but it worked fine using stable. Applying the fix from #7 to menu_block.module fixed the problem.

NancyDru’s picture

Version: 7.x-2.3 » 7.x-2.x-dev
Status: Postponed (maintainer needs more info) » Active

Drupal 7.22, PHP 5.3.13, current dev of MB. Same symptoms. The change in #7 fixed it.

adraskoy’s picture

Same problem in stable 7.x-2.3, drupal 7.22. Fix not appropriate for stable version.

EDIT: Disabling and re-enabling the module fixed it.

NancyDru’s picture

Priority: Normal » Major
Status: Active » Needs review
adraskoy’s picture

Working with other modules as well after this, it became apparent that drush was not initializing modules correctly when enabling them. Normal enabling through the UI is likely fine. I don't think this is a Menu Block problem, though it should still be tested, esp. with drush.

candelas’s picture

i was trying 7.x-2.x-dev and drupal 7.22 and #7 made it work. thanks joel_osc :)

mrP’s picture

Category: Support request » Bug report
Issue summary: View changes
509 bytes

#7 rolled as a patch against 7.x.2.x-dev

mrP’s picture

Status: Needs review » Reviewed & tested by the community


Dave Reid’s picture

Status: Reviewed & tested by the community » Fixed
Dave Reid’s picture

Just wanted to add I take some responsibility for this regression since I was the one that suggested the permission in #810362: Make Menu Block require 'administer menus' permission. But I do want to point out that John committed without testing it. :P

mrP’s picture

Status: Fixed » Closed (fixed)

@Dave - thank you sir, you're the man.