menu

Menu tasks

  1. // I want local tasks to appear… but it doesn't seem to be working very reliably!
  2.  
  3. // This works.
  4.   $items['admin/subscriptions'] = array(
  5.     'title'            => 'Mollom subscriptions',

menu for stella

  1. function meetings_menu($may_cache) {
  2.         $items = array();
  3.         if($may_cache) {
  4.                 $items[] = array('path' => 'admin/vvmodules',
  5.                         'title' => t('VidaVia Modules'),

hook_menu implementation which throws errors

  1. function comment_revisions_menu() {
  2.   $items = array();
  3.  
  4.     $items['admin/settings/commentrevisions'] = array(
  5.       'title' => 'GB Comment Revisions settings',

Implementation of hook_menu question

  1. function bd_menu() {
  2.   $items['bd/foo'] = array(
  3.     'title' => 'Foo',
  4.     'page callback' => 'bd_foo',
  5.     'access arguments' => array('view birthdays'),
  6.     'type' => MENU_CALLBACK,
  7.   );

Can't map tab to function callback

  1. $items['admin/settings/gmapper/add'] = array(
  2.                 'title' => t('Add Map'),
  3.                 'description' => t('Add An Empty Map'),
  4.                 'callback' => 'add_empty_map',

IE Destroyer hook_menu()

  1. /**
  2.  * Implementation of hook_menu()
  3.  */
  4. function iedestroyer_menu($may_cache) {
  5.   if ($may_cache == TRUE) {
  6.     return array(
  7.       'path' => 'admin/settings/iedestroyer',

%crmapi_section doesn't get passed to form function

  1. function crmapi_menu() {
  2.   $items = array();
  3.   $items['crmapi/%crmapi_section'] = array(
  4.     'title callback' => 'crmapi_title',
  5.     'title arguments' => array(1),

white screen in Drupal 6

  1. /**
  2.  * Implementation of hook_menu().
  3.  */
  4. function letters_menu($may_cache) {
  5.   $items = array();
  6.   $items['letter'] = array(
  7.     'path' => ,

this is my user_queue_member.module file,

  1. <?php # vim: set filetype=php expandtab tabstop=2 shiftwidth=2 autoindent smartindent:
  2.  
  3. /*
  4.  

Why this menu disables my left sidebar?

  1. function partners_menu($may_cache) {
  2.         //$items = array();
  3.         $access_config = user_access('administer site configuration');
  4.         $access_content = user_access('access content');
  5.         if ($may_cache) {
Syndicate content