Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6851999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:19:03+00:00 2026-05-27T01:19:03+00:00

I am trying to add a section to the Home>Administration>Configuration page which then opens

  • 0

I am trying to add a section to the Home>Administration>Configuration page which then opens a new form with 2 tabs (create_team and create_game).

My code (which does not work):

function guild_management_core_menu()
{           
$items['admin/config/guild_management_core/create_game'] = array
(
    'title' => 'Create Game',
    'description' => 'Create Game',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('guild_management_core_create_game'),
    'access arguments' => array('access administration pages'),
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => 0,
);      
$items['admin/config/guild_management_core/create_team'] = array
(
    'title' => 'Create Team',
    'description' => 'Create Team',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('guild_management_core_create_team'),
    'access arguments' => array('access administration pages'),
    'type' => MENU_LOCAL_TASK,
    'weight' => 0,
);  

return $items;

}

I tried the links below but they don’t work either:
drupal–hook_menu
Drupal hook_menu from module for admin menu

I also disabled the module and enabled it again and then I cleared the cache but still no results.

EDIT:
This works:

$items['admin/config/annotate'] = array(
    'title' => 'Guild Management',
    'description' => 'Guild Management',
    'position' => 'right',
    'weight' => -5,
    'page callback' => 'system_admin_menu_block_page',
    'access arguments' => array('administer site configuration'),
    'file' => 'system.admin.inc',
    'file path' => drupal_get_path('module', 'system'),
  );

When I replace “admin/config/annotate” with “admin/config/guild_management_core” it goes wrong again…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:19:04+00:00Added an answer on May 27, 2026 at 1:19 am

    UPDATED

    This should work for you:

    function tbff_promo_menu() {
        $items['admin/config/guild_management'] = array(
            'title' => 'Create Game',
            'description' => 'Create Game.',
            'position' => 'right',
            'weight' => -20,
            'page callback' => 'system_admin_menu_block_page',
            'access arguments' => array('access administration pages'),
            'file' => 'system.admin.inc',
        );
        $items['admin/config/guild_management/core'] = array(
            'title' => 'Create Game',
            'description' => 'Create Game',
            'page callback' => 'drupal_get_form',
            'page arguments' => array('search_block_form'),
            'access arguments' => array('access administration pages'),
            'type' => MENU_NORMAL_ITEM
        );
        $items['admin/config/guild_management/core/create_game'] = array(
            'title' => 'Create Game',
            'type' => MENU_DEFAULT_LOCAL_TASK,
            'weight' => 0
        );
        $items['admin/config/guild_management/core/create_team'] = array(
            'title' => 'Create Team',
            'description' => 'Create Team',
            'page callback' => 'drupal_get_form',
            'page arguments' => array('search_block_form'),
            'access arguments' => array('access administration pages'),
            'type' => MENU_LOCAL_TASK,
            'weight' => 0,
        );
        return $items;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to add an element to a database and then return a new
I'm trying to add a comments section at the end of my form so
I'm trying to add a section of configuration to my Config.groovy file, and reference
Trying to add a 'box' to a form at design time, I looked up
Im trying to add a Jquery validation script to a form plugin for wordpress.
In trying to add a cached section to a Mako template, I get the
I am trying to add the thumbnails section of the js gallery in the
I am trying to add a Pinterest button onto a product page for a
I am trying to add a tell a friend section to a website I
I'm trying to add as subview into a section in UITableView, It looks like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.