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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Ability to expose menu to drupal as a menu.
Pages: [1]

Author Topic: Ability to expose menu to drupal as a menu.  (Read 2114 times)

westwesterson

  • Guest
Ability to expose menu to drupal as a menu.
December 10, 2007, 01:01:43 am
Is there a way to expose the civicrm menu as a menu to drupal without doing it by hand, menu item by menu item? There are some great modules, that enable new ways of rendering menus (such as nice menus) which speed up a user's workflow. It would be great to be able to use them, and for civicrm menus to be consistant with the rest of my site's menus without having to go through the menu item by item

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: Ability to expose menu to drupal as a menu.
December 10, 2007, 07:07:10 am

we expose a few items to drupal via a menu block. We have a menu array with a fair amount of information. Writing a php function to extract menu items that you want exposed is probably not too hard. Check the code in CRM/Core/Menu.php. The civicrm_menu hook also returns all the menu items

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Ability to expose menu to drupal as a menu.

This forum was archived on 2017-11-26.