Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tried this module , but after enabling CiviCRM menu is not visible.
For more information I have CiviCRM multilingual installation.
Comment | File | Size | Author |
---|---|---|---|
#2 | civicrm_menu_is_not-2742423-2.patch | 1023 bytes | sushantpaste |
Comments
Comment #2
sushantpasteI have added patch here which works for me. I have updated the civimenu_block_view ( we need to return the block content ) I have removed the drupal_add_region_content as this menu will appear at top no matters if we added it in any region. It works for me now.
thoughts?
Comment #3
colemanw CreditAttribution: colemanw commentedThat patch seems fine to me. Any idea why drupal_add_region_content() was not working for your site? (just curious because it works on mine)
Comment #4
sushantpasteNot sure but I think if you want to add content to a region, you should be using hook_page_build() . This can give some idea https://www.drupal.org/node/713462 may be related to Drupal version (mine 7.32). I think patch will work for old/new versions.
Comment #6
colemanw CreditAttribution: colemanw commented