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.
This should allow the query to potentially be plugged further - just a small cleanup to do what Berdir had once mentioned.
What I was trying to do was investigate the possibility of having the inbox the default tab for when the filter module is enabled, but I failed there, so this is just a "commiseration patch" since I had toe stuff open.
(No idea if having the inbox by default is better or worse than what we have atm...)
Comment | File | Size | Author |
---|---|---|---|
#1 | privatemsg.patch | 3.18 KB | NaheemSays |
Comments
Comment #1
NaheemSays CreditAttribution: NaheemSays commentedComment #2
litwol CreditAttribution: litwol commentedFiltering modules is such a useful feature which makes me think that it should be turned on by default with privatemsg. in which case if 'inbox' and 'sent' messages become tags, we would not need to hardcode special cases for them.
I need to grok this patch further, but for now it seem to make it easier for developers to extend folder-like functionality than tag-like.
instead of this ...
would be great if...
Comment #3
BerdirHm, does this actually work? You have to update hook_menu too, or am I wrong?
Would be interesting to know if hook_menu allows to use something like:
I would be surprised to find out that this would actually work. If not, we would need a simple callback for stuff like this.
Comment #4
BerdirComment #5
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.