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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PascalAnimateur created an issue. See original summary.

PascalAnimateur’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta4
FileSize
6.57 KB

This patch completely removes the test drive image for 1.0-beta4.

joelstein’s picture

I'd also like to see the test drive image disappear completely. :)

PascalAnimateur’s picture

My patch in #2 does just that !
https://www.drupal.org/patch/apply

logaritmisk’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
7.11 KB

Rerolled patch against dev.

thePanz’s picture

Patch #5 works fine.
Thanks

bleen’s picture

I 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 :)

PascalAnimateur’s picture

Here'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?

PascalAnimateur’s picture

The previous patch fails to delete images/ so I made another one which doesn't attempt this so it applies cleanly using drush.