function article_help($section){ switch ($section) { case 'admin/help#article': return t('Allow users to view nodes of multiple types in a central location.'); } } function article_menu($may_cache){ $items = array(); if ($may_cache){ $items[] = array('path' => 'article', 'title' => t(variable_get('article_title','Articles')), 'access' => user_access('access content'), 'type' => MENU_NORMAL_ITEM, 'callback' => 'article_page'); $items[] = array('path' => 'admin/article', 'title'=> t(variable_get('article_admin_title','Article Administration')), 'access' => user_access('administer access content'), 'type' => MENU_CALLBACK, 'callback' => 'article_admin_page'); } return $items; } function article_page(){ $items['article'] = array( 'title' => 'EED', 'callback' => 'article_display', ); return $items; } function article_display(){ return "

this is display

"; } function article_admin_page(){ return "

this is me

"; }