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 1022157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:25:25+00:00 2026-05-16T11:25:25+00:00

In a module development (webtv) I am providing a generic block that can be

  • 0

In a module development (webtv) I am providing a generic block that can be configured for its contents (playlists). On the configure form there is a list of added contents (playlists) along with links “add new playlist” and “edit” existing one placed next to each entry. As the block configuration path is: “admin/build/block/configure/[my_module_name]/[block_delta]”.

And I am expecting to add/edit playlist form on a separate page and should be accessible on:
admin/build/block/configure/[my_module_name]/[block_delta]/playlist/add
and
admin/build/block/configure/[my_module_name]/[block_delta]/playlist/[playlist_id]/edit

For this I added two entries in hook_menu with page callback as drupal_get_form and page argument as form defining function.

After clearing cache and running cron, links does not server playlist add/edit page but redirects to block configure page.

What am I doing wrong? Is it possible to extend block configure page into sub pages?

  • 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-16T11:25:26+00:00Added an answer on May 16, 2026 at 11:25 am

    The maximum allowed menu parts in a drupal(6) URL are limited to 7. In my problem I have quoted paths with 8 and 9 parts that was the issue.

     admin/build/block/configure/[my_module_name]/[block_delta]/playlist/add
     admin/build/block/configure/[my_module_name]/[block_delta]/playlist/[playlist_id]/edit
    

    In Drupal 7 the limit is expanded to 9.

    It can manually be changed in the file drupal/includes/menu.inc as define('MENU_MAX_PARTS', 12);

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've browsed the module development documentation but I can't find an API that would
Is there a general purpose Perl Module with helpers for web development? Like form-builders,
A module can be unloaded, so how can I tell for sure if it
this module does a good job at creating a tagcloud block - all good
I'm creating a module that let's you define some extra options for categorys in
I'm using Development Seed's fantastic Context module (version 6.x-2.0) for Drupal 6 on a
I am developing an Apache module. During development I found it convenient to use
GIN Module: public class InjectorModule extends AbstractGinModule { @Override protected void configure() { bind(EventBus.class).to(SimpleEventBus.class).in(Singleton.class);
I'm doing Scala web development using the Play framework's scala module, and using Emacs+Ensime
Hi I am trying out Zend Studio for Drupal module development. Of course, my

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.