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.
If I set an $url_prefix in the settings page, the popup snippet "a[href*=messages/new]" can't work
This is the patch
Comment | File | Size | Author |
---|---|---|---|
urlprefixproblemwithpopups.patch | 537 bytes | Patrizio | |
Comments
Comment #2
Patrizio CreditAttribution: Patrizio commentedurlprefixproblemwithpopups.patch queued for re-testing.
Comment #4
Patrizio CreditAttribution: Patrizio commentedThere are only two lines of code.
Someone can tell me why the patch fail?
Comment #5
BerdirNice catch, thanks for working on this. See below for reasons why it fails and what you need to improve.
The file name is wrong, it needs to be just "privatemsg.module" so that the test bot knows which file to change.
You should use http://api.worldempire.ch/api/privatemsg/privatemsg.module/function/priv... instead, so that it also works when the prefix is something like user/%user/messages.
Trailing spaces added here, that line isn't necessary anyway.
Powered by Dreditor.
Comment #6
oadaeh CreditAttribution: oadaeh as a volunteer commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-1.x branch (bug fixes only) or the 7.x-2.x branch.
Thank you.