Rewrite install extensions page
1 unresolved thread
1 unresolved thread
This is a near complete rewrite of the how-to-install-extensions page with a view to being able to link here instead of including boilerplate in extensions' README's.
Merge request reports
Activity
141 If you positioned your extensions directory outside of the docroot, you'll need to put in place some special server configuration to make extensions' public assets accessible by http. 142 143 144 ## Advanced: Other Extension Locations 145 146 CiviCRM will find, use and (via the web interface) manage extensions in the url and path location defined above, the "default" extension location for your install. 147 148 But CiviCRM will also find and use extensions in other locations. These locations might be populated by other mechanisms - e.g. a vetted subset of all extensions that are made available by default by a hosting provider. Specifically, CiviCRM will scan three directories and their subdirectories for info.xml files, similar to the mechanism that Drupal uses to automatically detect modules. The three directories correspond to three extension 'containers', as defined in the function "getFullContainer" of the file "CRM/Extension/System.php" 149 150 1. default : the one identified the settings. But note that although CiviCRM will only manage the extensions in the immediate directory location, it will still find them in subdirectories. 151 1. civiroot : the civicrm module code root, i.e. where the civicrm-version.php file is. This allows CiviCRM to be distributed with extensions (e.g. SearchKit), and different 'distributions' of CiviCRM to be created. 152 1. cmsvendor : a subdirectory 'vendor' of the CMS root (typically, the docroot of the web service). Analagous to the (core) module directory of the CMS. This one is not available for WordPress, only Drupal and Joomla, as noted in the code. 153 154 ## Advanced: Using unstable (alpha/beta/pre-releases etc.) through the Manage Extensions screens. 155 156 You can change the _extension repository URL_. This is the URL used by CiviCRM to fetch the list of available extensions, and it can be customized by editing "civicrm.settings.php": @artfulrobot this is cool, but what would you change it to?
mentioned in commit 1c37f616
Please register or sign in to reply