I'm doing a POC for integrating plupload and node_gallery. I want to add a MENU_LOCAL_TASK at node/%/plupload that allows me to add images to a gallery. While #919482: create ability to assign parameters in the url, implement taxonomy term as an example would be nice, I can use nodeapi to accomplish this, but I stumbled over a bug.

On line 93, the URL is relative, so in this case the url evaluates to /node/%/plupload/plupload-pernode which is incorrect. It should become /plupload-pernode.

The attached patch does just this by passing it through url().

CommentFileSizeAuthor
plupload_url.patch904 bytesjustintime
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

justintime’s picture

Status: Needs review » Fixed

Committed to 6.x-1.x.

Status: Fixed » Closed (fixed)

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