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) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • what's the purpose of the almost empty menu bar ?
Pages: [1]

Author Topic: what's the purpose of the almost empty menu bar ?  (Read 2943 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
what's the purpose of the almost empty menu bar ?
August 13, 2009, 12:01:48 am
Hi, back.

What's the goal of this menu when outside of civi ?
http://sandbox.civicrm.org/node/2

Why isn't it directly the regular menu (or no menu at all) ?
http://sandbox.civicrm.org/civicrm

looks like a placeholder to me :)
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: what's the purpose of the almost empty menu bar ?
August 13, 2009, 12:38:09 am
xavier :

Quote
What's the goal of this menu when outside of civi ?
http://sandbox.civicrm.org/node/2

IMO, this is more or less to illustrate hows menu stuff would work when you have your "Administration menu" module enabled in drupal and how menu would switch when you go back and forth inside and out of CiviCRM.

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: what's the purpose of the almost empty menu bar ?
August 13, 2009, 05:57:45 am
What's the admin menu ? Not sure I understood you

I would suggest not to waste space "illustrating" , but provide directly the civicrm menu all the time. What do you think ?

X+

P.S. I would personally want it always on for all of the users that have access to civicrm, as I want it to be as easy as possible to find a contact/log an activity/whatever civicrm related, no matter where they are in the site
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: what's the purpose of the almost empty menu bar ?
August 13, 2009, 06:54:38 am
Quote
What's the admin menu ? Not sure I understood you

http://drupal.org/project/admin_menu

If folks have both above module enabled and are using CiviCRM menu,
CiviCRM menu overrides the above when inside CiviCRM and once out of CiviCRM the above menu is resumed.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: what's the purpose of the almost empty menu bar ?
August 13, 2009, 07:17:34 am
Quote from: Yashodha Chaku on August 13, 2009, 06:54:38 am

http://drupal.org/project/admin_menu

If folks have both above module enabled and are using CiviCRM menu,
CiviCRM menu overrides the above when inside CiviCRM and once out of CiviCRM the above menu is resumed.

Looks good thanks, might even makes drupal almost usable ;)

However:
1) if you don't have the admin menu, you get a dummy menu that could be replaced by the civicrm menu that is actually useful, no matter where you are on civicrm

2) if you have the admin menu, provide the useful civicrm menu instead of the dummy one, beside when you are under admin (where the admin menu should take precedence, obviously)

My suggestion:
- if you are under /civicrm, always display the civicrm menu (done already)
- if you are under admin, never display the civicrm menu (and either empty or admin menu if enabled)
- anywhere else, display the civicrm menu if the user has access to civicrm


As an added bonus, might make sense to add an entry "drupal admin" if the admin menu is enabled+acl (doesn't matter much I suppose)


X+



-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

totten

  • Administrator
  • Ask me questions
  • *****
  • Posts: 695
  • Karma: 64
Re: what's the purpose of the almost empty menu bar ?
August 14, 2009, 02:30:33 pm
In my own experience, the distinction between the CiviCRM section and the Drupal section of the site isn't very intuitive to new users. It's pretty easy to get lost. I believe that the major navlinks should be stable regardless of what page the user looks at. (In fact, under 2.x, I always reconfigure the "CiviCRM Menu" block to show up on all pages.)

On a couple sites, my team has separated the "front-end" (public-facing pages for constituents/customers) and "back-end" (private admin pages for staff) -- the two sections can use different themes and different blocks. However, this doesn't line up with a Civi/Drupal split:

 * Front-end pages are visible to constituents/customers, and they include:
   + node/* -- All (or most) of the Drupal content pages -- blog articles, about us, etc.
   + civicrm/user
   + civicrm/event/info
   + civicrm/event/register
   + civicrm/contribute/transact
 * Back-end pages are visible to staff, and they include:
   + admin/*
   + node/add/*
   + civicrm/dashboard
   + civicrm/contact/* (view, edit, search, etc.)
   + civicrm/admin/*
   + And more

But even when we have two sections, one thing is consistent -- an admin always sees the same black navbar at the top of the page. You don't want to let the staff get lost. (FWIW, this can be implemented with drupal.org/project/simplemenu, but that obviously doesn't integrate well with Civi's menu system.)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: what's the purpose of the almost empty menu bar ?
August 24, 2009, 02:16:15 am
Xavier:

Quote
- if you are under admin, never display the civicrm menu (and either empty or admin menu if enabled)
We already do that.

Quote
- anywhere else, display the civicrm menu if the user has access to civicrm
IMO we should have CiviCRM menu only on /civicrm pages, since this menu is very specific to civicrm and not drupal. As mentioned by Yashodha, you can use Administrator Menu / Simple Menu module for admin or other pages. We also discussed this at developer meet in SF and we found out lot of people already use Admn menu and they would like to have CiviCRM Menu to be shown only on CiviCRM pages.

Kurund
« Last Edit: August 24, 2009, 02:18:13 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • what's the purpose of the almost empty menu bar ?

This forum was archived on 2017-11-26.