Fix for Fix for Fix for mostrar una pestaña a continuación de las que hay en mi cuenta

  1. function gestion_menu($may_cache) {
  2.   $items = array();
  3.   if ($may_cache) {
  4.     $items[] = array(
  5.         'path' => 'partida',
  6.         'title' => t('alta de partida'),
  7.         'access' => user_access('alta de partida'),
  8.         'type' => MENU_CALLBACK,
  9.         'callback' => 'drupal_get_form',
  10.         'callback arguments' => array('alta_form'),
  11.         'access' => user_access('alta de partida'),
  12.       );    
  13.          $items[] = array(
  14.                 'path' => 'user/buddy',
  15.                 'title' => t('my buddys activity'),
  16.         'callback' => 'my_buddy_activity',
  17.                
  18.         'type' => MENU_LOCAL_TASK,
  19.                 'access' => user_access('my buddys activity'),
  20.                 'weight' => '10',
  21.                 );     
  22.           }
  23.  
  24.   return $items;
  25. }

Submit Fix

Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Select the syntax highlighting mode to use.