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.
In the new branch 2.x, we should only support the file field.
Note: We should not just change media_gallery_media from media to file field, as 1.1.x installations will not be able to upgrade.
Comment | File | Size | Author |
---|---|---|---|
#5 | media_gallery-change-to_file_field-1848914-5.patch | 21.17 KB | Moloc |
#4 | media_gallery-change-to_file_field-1848914-4.patch | 20.03 KB | Moloc |
#2 | media_gallery-change_to_file_field-1848914-2.patch | 27.67 KB | Moloc |
#1 | media_gallery-change_to_field_field-1848914-1.patch | 24.36 KB | Moloc |
Comments
Comment #1
Moloc CreditAttribution: Moloc commenteduntested patch
Move in 2.x branch from media field to file field.
Comment #2
Moloc CreditAttribution: Moloc commentedtested & updated patch
Comment #3
Moloc CreditAttribution: Moloc commentedMaybe it is better to not rename all functions to be more backward compatible. So users which upgrade do not have to update their own code, overriding theme functions.
Comment #4
Moloc CreditAttribution: Moloc commentedNew version, without changing theme functions.
I think, this is ready to commit now. ([edit] untested[/edit])
Comment #5
Moloc CreditAttribution: Moloc commentedadd fixes for lightbox in javascript and css
Comment #6
Moloc CreditAttribution: Moloc commentedCommitted to 7.x-2.x.
Comment #8
softone CreditAttribution: softone commentedIt seems there is no upgrade path from 7.x-1.0-beta8 to 7.x-2.x-dev.
media_gallery_media field remains and is of type media.
This breaks the rest of the code.
Should this issue be reopened or should a new one be created?