Comments

kreynen’s picture

http://wiki.civicrm.org/confluence/display/CRMDOC43/Override+CiviCRM+Set...

$civicrm_setting['Directory Preferences']['extensionsDir'] = '/path/to/extensions-dir';

kreynen’s picture

Version: 7.x-3.x-dev » 7.x-4.x-dev
Status: Active » Needs work

This was added with the patch for #1978142: Include Pantheon settings in civicrm.settings.tpl, but it is NOT working

kreynen’s picture

StatusFileSize
new244 bytes

attempt to create the sites/all/extensions direction w/ patch

kreynen’s picture

StatusFileSize
new3.33 KB

I think the only way to create a directory in sites/all/ is to patch Drupal core which I'd like to avoid so I'm going to create a file from another library at sites/extensions/cache/timestamp.txt then patch that file into a timestamp

kreynen’s picture

StatusFileSize
new3.31 KB

changed relative path to file

kreynen’s picture

StatusFileSize
new3.3 KB

changed relative path to file...again

kreynen’s picture

Component: Code » Installing
Issue summary: View changes
StatusFileSize
new3.58 KB

Adding ResourceURL, removing IDS since that is now a permission based setting in > 4.4 http://issues.civicrm.org/jira/browse/CRM-12197

This change should make it possible to include CiviCRM extensions in a distribution and enable them w/ https://drupal.org/project/civicrm_extension_enabler

kreynen’s picture

populist’s picture

I believe that adding this code:

$civicrm_setting['URL Preferences']['userFrameworkResourceURL'] = $base_url . 'sites/all/extensions';

is going to break installations where the extensions are stored in /profiles/civicrm_starterkit/extensions.

sheldon rampton’s picture

I think it will break ANY installations, because you need a slash between $base_url and 'sites/all/extensions'.

kreynen’s picture

shouldn't be userFrameworkResourceURL at all... should be $civicrm_setting['URL Preferences']['extensionsURL'] = $base_url . '/sites/all/extensions';

kreynen’s picture

Status: Needs work » Needs review
StatusFileSize
new3.57 KB
kreynen’s picture

Status: Needs review » Closed (fixed)

Closing this again. This is the old 4.3 version of the patch. All future updates should be made to #2082713: Filename of civicrm.settings.php.tpl changed to civicrm.settings.php.template in CiviCRM 4.4