2012-10-09 31 views

Respuesta

2

Si desea crear su propio módulo, el código se verá así:

function downloaded_menu(){ $items['user/%user/downloaded'] = array('title' => 'Downloaded', 'page callback' => 'downloaded_content_page', 'access arguments' => array('access content'), 'type' => MENU_LOCAL_TASK, 'weight' => 10,); return $items; } 


downloaded_content_page(){your code here} 
0

tienen una mirada de hook_menu here

usted tiene que tratar con diferentes tipos

'type' => MENU_LOCAL_TASK, 
Cuestiones relacionadas