Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I create own node/[nid]/mypath view hook_form.
After enable this module the my-node-alias/mypath cause infinite redirect loop.
The menu_get_item();
array
(
[path] => node/%/what-to-see
[load_functions] => Array
(
[1] => node_load
)
[to_arg_functions] =>
[access_callback] => field_group_menu_access
[access_arguments] => a:2:{i:0;s:4:"view";i:1;i:1;}
[page_callback] => fieldgroup_menu_page_view
[page_arguments] => Array
(
[0] => stdClass Object
--------
)
[delivery_callback] =>
[fit] => 5
[number_parts] => 3
[context] => 0
[tab_parent] =>
[tab_root] => node/%/what-to-see
[title] => What to do
[title_callback] => t
[title_arguments] =>
[theme_callback] =>
[theme_arguments] => Array
(
)
[type] => 6
[description] =>
[position] =>
[weight] => 9
[include_file] =>
[href] => node/221/what-to-see
[tab_root_href] => node/221/what-to-see
[tab_parent_href] =>
[options] => Array
(
)
[access] => 1
[localized_options] => Array
(
)
[original_map] => Array
(
[0] => node
[1] => 221
[2] => what-to-see
)
[map] => Array
(
[0] => node
[1] => stdClass Object
(
---------------------
)
[2] => what-to-see
)
)
Comments
Comment #1
adamdicarlo CreditAttribution: adamdicarlo commentedCould you post your hook_menu() implementation?
Comment #2
szantog CreditAttribution: szantog commentedHmm.. Really sorry, I can't reproduce now, I choosed another way to solve that. This was a simple view like this: http://paste.pocoo.org/show/521174/ I only want to create an aliased tab view to node/%/mypath path.
I try to do it again on a fresh install, but there wasn't any problem.
Sorry again!