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.
Okay, so the Incubator just really needs an image gallery. For basic functionality I'm thinking:
Gallery display: http://drupal.org/project/galleryformatter
File uploads: http://drupal.org/project/plupload
To integrate this into the incubator:
- download required modules and libraries, adding each one to bahai_incubator.make
- create a new module like incubator_galleries
- make sure dependencies are noted in .info file
- configure module dependencies as needed, and code all steps in new module's .install file (generally variable_set statements)
- create new content types, fields, and views, and test until satisfied
- track new blocks enabled and code in new module's .install file as per other incubator modules
- export content types using devel module and this code
- copy and paste field definitions into new module's .install file as per other incubator modules
- handle the new content type in incubator_galleries.install as per other incubator modules
- create a patch as per the instructions and post it back here
Comment | File | Size | Author |
---|---|---|---|
#8 | bahai_incubator-add_an_image_gallery-1459172-8.patch | 7.91 KB | dnotes |
#7 | bahai_incubator-add_an_image_gallery-1459172-7.patch | 1.92 KB | dnotes |
#5 | bahai_incubator-add_an_image_gallery-1459172-5.patch | 5.42 KB | djones1844 |
Comments
Comment #1
dnotes CreditAttribution: dnotes commentedThis is better now:
Formatter:
http://drupal.org/project/galleryformatter
Multiple uploader:
http://drupal.org/project/plupload
Comment #2
dnotes CreditAttribution: dnotes commentedMake sure to consult the http://drupal.org/packaging-whitelist when adding the external library to the bahai_incubator.make file.
Comment #3
dnotes CreditAttribution: dnotes commentedComment #4
dnotes CreditAttribution: dnotes commentedComment #4.0
dnotes CreditAttribution: dnotes commentedupdate for current phase of incubator work
Comment #4.1
dnotes CreditAttribution: dnotes commentedFurther clarification on adding stuff to incubator
Comment #5
djones1844 CreditAttribution: djones1844 commentedThis should add the gallery modules to the required install as well as creating a content type and roles/permissions for a photographer.
Comment #6
dnotes CreditAttribution: dnotes commentedAwesome! The first collaboration on the incubator!
Okay, here are some things that need work:
Comment #7
dnotes CreditAttribution: dnotes commentedThis is the patch that was eventually used.
Comment #8
dnotes CreditAttribution: dnotes commentedOops wrong patch.
Comment #9.0
(not verified) CreditAttribution: commentedadded patch instructions