Update breadcrumb to be

Home >> GROUP TYPE >> GROUP >> POST

Where GROUP TYPE would be top-level julio features such as clubs, teams, etc. GROUP would be an individual group and POST would be a GROUP item.

Comments

jgraham’s picture

Please don't apologize. ;) Your input, thoughtful consideration, usability concerns, and patches are very much appreciated, and will help get us to a stable 1.0 release sooner. :)

jgraham’s picture

Assigned: Unassigned » jgraham
jgraham’s picture

Status: Active » Postponed

Open to considering patches here, but it needs to be well documented what navigational/UI issues we are attempting to address.

Part of our choice to remove the breadcrumb was an attempt to help users to stay out of areas that may be confusing, overwhelming, or outright dangerous to their site configuration. We think this is the right approach so would be very cautious in considering a breadcrumb approach to solving navigation & UI issues.

Setting to postponed but feel free to set to active if you want to open a discussion around this and/or have patches for consideration.

lightsurge’s picture

A cautious approach might be to wholly use the og_context to set the breadcrumb, with something like (this is when viewing, say, an announcement within a club within Student Life):

(disclaimer- code won't work, just an example!)

if (arg(0) == 'node' && is_numeric(arg(1))) {
  $group_context = og_context(); // dependency on og_context if not already part of profile

  if ($group_context['group_type'] == 'julio_club') {
    $section_title = db_result(db_query('SELECT title FROM {node} WHERE nid = 5'));
    $breadcrumb[] = l($section_title, 'node/5'); // Student Life by default
    $breadcrumb[] = l('Clubs', 'clubs/all');
  }
}

drupal_set_breadcrumb($breadcrumb);

That way, by outright setting the breadcrumb, we could get rid of function julio_core_menu_breadcrumb_alter hiding admin breadcrumbs and the css hiding the rest.

In terms of UX improvement, it could partly help with http://drupal.org/node/1482880#comment-5833500
also, can it really hurt so long as the above sort of method is taken? Some users I think know to look for a breadcrumb since they're fairly well-used, the rest will probably never even notice it.

penguininja’s picture

jgraham’s picture

Status: Postponed » Active

I think the route forward is add a breadcrumb like lighsurge suggests in comment 4 for the group specific stuff and then adjust the admin breadcrumb such that it is sanitized for julio and users don't accidentally end up in the drupal config unless they type the URL in.

jgraham’s picture

Title: Breadcrumb » non-admin breadcrumb improvements
jgraham’s picture

Issue summary: View changes

clarify ticket information related to latest discussion