[support] moving contributed modules to /sites/all

Earnie Boyd earnie at users.sourceforge.net
Thu Dec 6 12:56:19 UTC 2007


Quoting Sean Burlington <sean at burlington.me.uk>:

> Hi,
>   I've just taken over a Drupal project which has had contributed
> modules places in the core modules directory.
>

This was the way to do it before 5.x.

> I'd like to move them out of there to /sites/all while keeping all the
> settings.
>

Shouldn't be a problem.

> Having never put modules in the core directory myself I'm not sure how
> to fix it ...
>
> Any tips on how it should be achieved  would be much appreciated.
>

0. Put site offline.
1. Disable the module before moving it
2. Truncate cache* tables
3. Truncate sessions table
4. Move and enable the module
5. Review the variables and system tables for any likelihood issues, 
e.g. the old path.
6. Put site online.

And be a good sport and take a backup before proceeding.

Earnie -- http://for-my-kids.com/
-- http://give-me-an-offer.com/



More information about the support mailing list