Project:Drupal.org CVS applications
Component:Miscellaneous
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

CVS edit link for PeteS

The most immediate motivation is to share a module (tentatively, "Multiple Node Menu") that we have made to enable configuring multiple menu assignments on a node page (i.e., without having to go to the menu section to manually add links). This feature does not seem to exist in any other module, and is still merely a proposal for Drupal 7 that does not seem to have much support as a core capability. The module uses all standard hooks, Ajax/AHAH, and would work very well with Hierarchical Select if HS were to fix a few issues.

We also have a number of other practical modules that we have developed in-house that could be contributed in the future.

Comments

#1

#2

Err, had to fix a styling issue.

AttachmentSize
multiple_node_menu-6.x-1.0-dev.tar_.gz 5.07 KB

#3

Screenshot attached.

AttachmentSize
multiple_node_menu.JPG 51.9 KB

#4

Status:postponed (maintainer needs more info)» needs review

#5

Replaced tabs with spaces.

AttachmentSize
multiple_node_menu-6.x-1.0-dev.tar_.gz 5.12 KB

#6

Status:needs review» needs work

<?php
function menu_multiple_node_menu_install() {
  return;
}
?>

There is no need to define an install function that doesn't do anything.

#7

Status:needs work» needs review

Fair enough. Empty .install function/file removed.

AttachmentSize
multiple_node_menu-6.x-1.0-dev.tar_.gz 5.04 KB

#8

Status:needs review» reviewed & tested by the community

Some minor nitpicks:
- I'd remove the package = User interface from the .info since you are not part of a larger module package like Views or CCK.
- Make sure to also remove the last four lines from the .info file as that is going to be added by the drupal.org packaging script automatically, so you should not have those lines in the CVS versions.
- Your access controls on the JS callback should really check user_access('administer menu') and not 'access content' since you are working with menus. This also matches the permission used for actions in menu.module.

Otherwise I think everything looks really really good. Very nice work with this.
-

#9

All great suggestions, thank you Dave. Those changes are in the latest tarball.

AttachmentSize
multiple_node_menu-6.x-1.0-dev.tar_.gz 4.62 KB

#10

Status:reviewed & tested by the community» fixed

#11

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.