hook_menu() items created in a custom module don't retain the active-trail of the parent tab So I have a custom module that is adding 3 menu items (a main tab, and 2 sub-tabs). When navigating to the main tab (url: /casereports) the default_local_task is displayed as expected and both menu items (Case Reports and Jobs Completed) are active as expected. Everything is working fine except that when I click on the second tab (Jobs Created), the main tab (Case Reports) loses it's active status.  I can't seem to figure out what I am missing here and why it is not picking up it's parent and the active-trail.  Any ideas?

function casereports_menu() {
  $items = array();

  $items['casereports'] = array(
    'title' =&gt; t('Case Reports'),
    'page callback' =&gt;'drupal_get_form',
    'page arguments' =&gt; array('casereports_completed'),
    'access arguments' =&gt; array('access content'),
    'menu_name' =&gt; 'features'
  );
  $items['casereports/default'] = array(
    'title' =&gt; t('Jobs Completed'),
    'type' =&gt; MENU_DEFAULT_LOCAL_TASK
  );
  $items['casereports/created'] = array(
    'title' =&gt; t('Jobs Created'),
    'page callback' =&gt; 'drupal_get_form',
    'page arguments' =&gt; array('casereports_created'),
    'access arguments' =&gt; array('access content'),
    'type' =&gt; MENU_LOCAL_TASK
  );
  return $items;
}
OK...so this basically ended up being more of an Open Atrium issue than anything else.  Due to the fact that Open Atrium relies heavily on Features and Context, the style sheet was setup to deal with the classes added by those modules.  Drupal's implementation of active-trail and active classes was working fine, however the theme's 'active' styles weren't setup to work without the classes added by the Context module.

I could either a) add a Context for the menu item added via my module (which is the route I took), or I could have (b) modified the CSS for the theme by adding a custom stylesheet.

Thanks for all the help guys, but I am embarrassed to say that in the end, it was just a bit of a theme problem from the Open Atrium install.