CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • CiviCRM Menu not showing up in Drupal
Pages: [1]

Author Topic: CiviCRM Menu not showing up in Drupal  (Read 3755 times)

mjohnson290

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: Unsure
  • PHP version: Unsure
CiviCRM Menu not showing up in Drupal
September 04, 2013, 11:39:53 am
Hello! I've been working on a site since last June, where I ended up rebuilding what was there to make it more clean. Everything was working great, I gave the client the credentials to start loading in their information to CiviCRM and left it alone until recently.

Now, it appears the menu is gone and I cannot for the life of my find it. I've checked the source and the code is not there for the menu, so it's not simply hidden or anything. I've search Google as well as this forum, but all leads I've found have come up short. Attached is a screenshot of the CiviCRM dashboard page where the CiviCRM admin menu used to show up in place of the Drupal admin menu.

Any help would be SOOOOOOSOOOSOSOSOSOSOSO appreciated. Thanks so much!

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: CiviCRM Menu not showing up in Drupal
September 04, 2013, 10:42:03 pm
you have a CiviCRM link on the menu, second link from the left as shown on your screen capture. You have to click on that link to open up the CiviCRM menu!!!
« Last Edit: September 04, 2013, 10:43:39 pm by kennedy »

mjohnson290

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3.4
  • CMS version: Drupal 7.22
  • MySQL version: Unsure
  • PHP version: Unsure
Re: CiviCRM Menu not showing up in Drupal
September 05, 2013, 07:03:59 am
Well that's how it worked before, but that's the functionality that's missing now for some reason and I can't figure out why it doesn't work for the life of me. When that link is clicked, it just goes to the page in the screenshot with the drupal admin menu

qjensen

  • I post frequently
  • ***
  • Posts: 141
  • Karma: 11
    • Scaled Solutions
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: CiviCRM Menu not showing up in Drupal
September 16, 2013, 12:51:53 pm
I've gotta bump this because I have run into the same problem on two of my sites. I upgraded from 3.35 to 4.28 under D6 and now the civi admin menu never displays. I get the link in the Drupal admin menu, but when I click on the link to go to the CiviCRM dashboard, the menu never changes.

I have tried deactivating/reactivating CiviCRM, clearing caches, deleting the cached CiviCRM files and doing a menu rebuild. I get no errors in the js console (tried both Chrome and Firebug) and nothing in the logs.

I'd be happy to do some debugging/patching if someone can point me in the general direction. I tried looking at Menu.php::buildAdminLinks, but that didn't seem to make any difference, but I may have overlooked something.

Thanks for your help,
Quint
Quint Jensen
Web Developer
Scaled Solutions
--" Remove the 'I want you to like me' notes from your forehead and place them where they truly will do the most good -- on your mirror!" Author Unknown

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM Menu not showing up in Drupal
September 16, 2013, 12:58:53 pm

Might be best to ping kurund or coleman with this issue on IRC. Might also be worth to upgrade to the latest 4.3.x to see if its still an issue there

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

qjensen

  • I post frequently
  • ***
  • Posts: 141
  • Karma: 11
    • Scaled Solutions
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: CiviCRM Menu not showing up in Drupal
September 17, 2013, 03:00:19 am
Upgrading to 4.3.5 did not resolve the issue for me. I'll try to hit IRC sometime later today and start digging in under the hood.
Quint Jensen
Web Developer
Scaled Solutions
--" Remove the 'I want you to like me' notes from your forehead and place them where they truly will do the most good -- on your mirror!" Author Unknown

qjensen

  • I post frequently
  • ***
  • Posts: 141
  • Karma: 11
    • Scaled Solutions
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: CiviCRM Menu not showing up in Drupal
September 17, 2013, 05:59:05 pm
OK - thanks to coleman on IRC for pointing me at the relevant code/template. I was finally able to find the root of the problem.

When I stepped through the code that generates the admin menu I found that the $contactId  was undefined. There was a disconnect between the drupal account and the contact in civicrm. I just edited the email address, saved and then changed it back. I tried other fields and it didn't fix the problem. Just switching the email was enough to cause civicrm and drupal to get back in sync and the admin menu appeared.

I hope this helps someone else along the way.

Q
Quint Jensen
Web Developer
Scaled Solutions
--" Remove the 'I want you to like me' notes from your forehead and place them where they truly will do the most good -- on your mirror!" Author Unknown

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • CiviCRM Menu not showing up in Drupal

This forum was archived on 2017-11-26.