As discovered in #1333674: Conflicts with other modules so media_gallery_collection not called which creates Huge Images On Main Gallery Page, we are overwriting the page callback of the taxonomy term, which conflicts with taxonomy_display.
taxonomy_display provides a configuration page to call our own function on galleries vocabulary.
The attached patch integrates media_gallery with taxonomy_display.
Note:
If taxonomy_display with this patch is uses, it reopens the recently fixed bug #1804806: Title field in "all gallery" settings does not appear to be honored
I have opened a bug report at the taxonomy_display issue queue: #1811426: term name is not used as page title when a menu item links to it
Comment | File | Size | Author |
---|---|---|---|
#2 | media_gallery-taxonomy_page_callback_overwrite-1811860-2.patch | 2.14 KB | afsch |
#1 | media_gallery-support_taxonomy_display-1811860-1.patch | 7.63 KB | Moloc |
media_gallery-support_taxonomy_display-0.patch | 7.66 KB | Moloc |
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedChanged newline encoding in the new file from Windows to Unix.
Comment #2
afschThis bug remains in "7.x-2.x-dev" version for Drupal 7.43. The patch in the comment #1 can be simplified and here is what I got to solve it.
Comment #3
ivnish CreditAttribution: ivnish commented