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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CiviCRM link in admin_menu module?
Pages: [1]

Author Topic: CiviCRM link in admin_menu module?  (Read 779 times)

jsherk

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 0
CiviCRM link in admin_menu module?
May 01, 2010, 12:33:07 pm
When you activate the admin_menu module in Drupal, it adds a link to the end that says CiviCRM ... I want to change the link that this points to (to civicrm/admin instead of civicrm/dashboard). I been browsing code but cannot figure where it's coming from. Anybody where I can find it?

Thanks

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 link in admin_menu module?
May 01, 2010, 04:50:28 pm

check:

drupal/civicrm.module, function civicrm_admin_menu

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

jsherk

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 0
Re: CiviCRM link in admin_menu module?
May 01, 2010, 05:50:09 pm
Yep, that was it!!  :D

You also have to delete the link from the drupal database. You can find it with this:
SELECT * FROM drupal_menu_links WHERE menu_name='admin_menu' AND link_title='CiviCRM'

And then you need to disable the admin_menu module then re-enable it and it works great.

Thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CiviCRM link in admin_menu module?

This forum was archived on 2017-11-26.