CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • setting extensions directory
Pages: [1]

Author Topic: setting extensions directory  (Read 526 times)

firestickme

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal7
  • MySQL version: new
  • PHP version: new
setting extensions directory
February 19, 2013, 08:29:12 pm
So the docs ...CRMDOC42/Extensions say to place the extensions directory outside of the directory where the codebase is installed.  Is that referring to the Drupal codebase or the civicrm code?

I have Drupal sites managed with Aegir and I put the CiviCRM modules in the site's own modules folder (so CiviCRM modules are not shared by all sites).  Where should the extensions directory go?

Thanks so much!

kharding

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 4
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 7
  • MySQL version: Recent
  • PHP version: 5.3.16
Re: setting extensions directory
February 19, 2013, 08:37:15 pm
If you put your Drupal module in /sites/all/modules, you could always put your extensions directory in /sites/default/files/extensions or whatever you want to call it.

At least, that's what I've done.

firestickme

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal7
  • MySQL version: new
  • PHP version: new
Re: setting extensions directory
February 19, 2013, 09:18:57 pm
Thanks.  Ok...

So if civicrm is located in platform/sites/sitename.com/modules/civicrm
then I could put extensions in platform/sites/sitename.com/files/extensions ?

Now the extension resource url... should that be to this directory or should it be to civicrm.org/extdir/ver={ver}|cms={uf} or something else?

I'm confused.  This is my first time setting up CiviCRM

kharding

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 4
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 7
  • MySQL version: Recent
  • PHP version: 5.3.16
Re: setting extensions directory
February 20, 2013, 05:38:48 pm
You can put the extensions directory anywhere you want, provided it's not under the civicrm folder.

What you put in the Extensions Resources URL depends on your specific server configuration.

For mine, where the extensions directory lives in [drupal_folder]/sites/default/files/extensions, the Extensions Resources URL is:

https://server-name.ca/[drupal_folder]/sites/default/files/civicrm/extensions/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • setting extensions directory

This forum was archived on 2017-11-26.