Please can you advise...

I have setup drupal and want to use the it for multi sites.

I have taken a copy of the database and now have 2 databases and will edit the 'sites' settings file appropriately.

My question is:
Can I add FCKeditor as a main module in the 'drupal/modules' directory and use for ALL sites, rather than having to add it to the 'drupal/sites/domain_name/modules' directory for each site?

Help/advice appreciated...

thanks
fasttech

Comments

livido’s picture

You should add all common module into : /sites/all/modules/

trungso.com - PHP programming service

fasttech’s picture

Can I confirm... am I right in saying:

1. For site specific modules - they go into: '/sites/domain_name/modules' directory

2. For new modules used across ALL sites - they go into: '/sites/all/modules/' directory

So if i want to use FCKeditor across all sites, I would put it into no2? or have I got this totally wrong!

thanks
Fasttech

gpk’s picture

Correct. You can even have a site-specific version of the same module in '/sites/domain_name/modules' - the latter takes priority.

The modules folder in the Drupal direcotry should be kept for core modules. This makes upgrading much easier.

gpk
----
www.alexoria.co.uk

fasttech’s picture

Thanks for the clarification...

Really appreciated...
Fasttech