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.
The test drive image gets annoying for some clients, it might be possible to do someting similar to Profile2's default profile creation, i.e. using drupal_installation_attempted
to determine if the module was installed manually or through an installation profile.
Comments
Comment #2
PascalAnimateur CreditAttribution: PascalAnimateur commentedThis patch completely removes the test drive image for 1.0-beta4.
Comment #3
joelstein CreditAttribution: joelstein commentedI'd also like to see the test drive image disappear completely. :)
Comment #4
PascalAnimateur CreditAttribution: PascalAnimateur commentedMy patch in #2 does just that !
https://www.drupal.org/patch/apply
Comment #5
logaritmisk CreditAttribution: logaritmisk commentedRerolled patch against dev.
Comment #6
thePanz CreditAttribution: thePanz at Liip for FREITAG lab. AG commentedPatch #5 works fine.
Thanks
Comment #7
bleen CreditAttribution: bleen commentedI wouldn't want to remove the test drive image per se ... I would consider moving it into a new submodule called focal_point_testdrive however. Patches welcome :)
Comment #8
PascalAnimateur CreditAttribution: PascalAnimateur commentedHere's another patch that separates the test drive image stuff in another module.
Moving the image from images to focal_point_test_drive/images doesn't seem to work with the patch, this should be handled in the commit maybe?
Comment #9
PascalAnimateur CreditAttribution: PascalAnimateur commentedThe previous patch fails to delete images/ so I made another one which doesn't attempt this so it applies cleanly using drush.