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'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().
Comment | File | Size | Author |
---|---|---|---|
plupload_url.patch | 904 bytes | justintime |
Comments
Comment #1
justintime CreditAttribution: justintime commentedCommitted to 6.x-1.x.