From 92b1c24f0f0c4ac4c10b777ca9e19269600273cf Mon Sep 17 00:00:00 2001 From: Jen Lampton Date: Tue, 15 Dec 2015 17:39:08 -0800 Subject: [PATCH] Add lots of Backdrop CMS suggestions to the docs in the civi settings file. --- .../CRM/common/civicrm.settings.php.template | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/templates/CRM/common/civicrm.settings.php.template b/templates/CRM/common/civicrm.settings.php.template index e759f430b5..29d4cdfdbd 100644 --- a/templates/CRM/common/civicrm.settings.php.template +++ b/templates/CRM/common/civicrm.settings.php.template @@ -35,10 +35,10 @@ * CiviCRM can be hosted in either Drupal 6 or 7, Joomla or WordPress. * * Settings for Backdrop CMS: - * define( 'CIVICRM_UF' , 'Backdrop' ); + * define( 'CIVICRM_UF' , 'Backdrop'); * * Settings for Drupal 7.x: - * define( 'CIVICRM_UF' , 'Drupal' ); + * define( 'CIVICRM_UF' , 'Drupal'); * * Settings for Drupal 6.x: * define( 'CIVICRM_UF' , 'Drupal6'); @@ -60,7 +60,7 @@ if (!defined('CIVICRM_UF')) { /** * Content Management System (CMS) Datasource: * - * Update this setting with your CMS (Drupal or Joomla) database username, server and DB name. + * Update this setting with your CMS (Drupal, Backdrop CMS, or Joomla) database username, server and DB name. * Datasource (DSN) format: * define( 'CIVICRM_UF_DSN', 'mysql://cms_db_username:cms_db_password@db_server/cms_database?new_link=true'); */ @@ -76,13 +76,14 @@ if (!defined('CIVICRM_UF_DSN')) { * define( 'CIVICRM_DSN', 'mysql://crm_db_username:crm_db_password@db_server/crm_database?new_link=true'); * * Drupal and CiviCRM can share the same database, or can be installed into separate databases. + * Backdrop CMS and CiviCRM can also share the same database, or can be installed into separate databases. * - * EXAMPLE: Drupal and CiviCRM running in the same database... - * DB Name = drupal, DB User = drupal - * define( 'CIVICRM_DSN' , 'mysql://drupal:YOUR_PASSWORD@localhost/drupal?new_link=true'); + * EXAMPLE: Drupal/Backdrop and CiviCRM running in the same database... + * DB Name = cms, DB User = cms + * define( 'CIVICRM_DSN' , 'mysql://cms:YOUR_PASSWORD@localhost/cms?new_link=true'); * - * EXAMPLE: Drupal and CiviCRM running in separate databases... - * Drupal DB Name = drupal, DB User = drupal + * EXAMPLE: Drupal/Backdrop and CiviCRM running in separate databases... + * CMS DB Name = cms, DB User = cms * CiviCRM DB Name = civicrm, CiviCRM DB User = civicrm * define( 'CIVICRM_DSN' , 'mysql://civicrm:YOUR_PASSWORD@localhost/civicrm?new_link=true'); * @@ -123,6 +124,14 @@ if (!defined('CIVICRM_LOGGING_DSN')) { * the CIVICRM_TEMPLATE_COMPILEDIR would be: * define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/var/www/htdocs/drupal/sites/default/files/civicrm/templates_c/'); * + * EXAMPLE - Backdrop CMS: + * If the path to the Backdrop home directory is /var/www/htdocs/backdrop + * the $civicrm_root setting would be: + * $civicrm_root = '/var/www/htdocs/backdrop/modules/civicrm/'; + * + * the CIVICRM_TEMPLATE_COMPILEDIR would be: + * define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/var/www/htdocs/backdrop/files/civicrm/templates_c/'); + * * EXAMPLE - Joomla Installations: * If the path to the Joomla home directory is /var/www/htdocs/joomla * the $civicrm_root setting would be: @@ -151,7 +160,7 @@ if (!defined('CIVICRM_TEMPLATE_COMPILEDIR')) { /** * Site URLs: * - * This section defines absolute and relative URLs to access the host CMS (Drupal or Joomla) resources. + * This section defines absolute and relative URLs to access the host CMS (Backdrop, Drupal, or Joomla) resources. * * IMPORTANT: Trailing slashes should be used on all URL settings. * @@ -163,6 +172,13 @@ if (!defined('CIVICRM_TEMPLATE_COMPILEDIR')) { * CIVICRM_UF_BASEURL - home URL for your site: * define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/drupal/'); * + * EXAMPLE - Backdrop CMS Installations: + * If your site's home url is http://www.example.com/backdrop/ + * these variables would be set as below. Modify as needed for your install. + * + * CIVICRM_UF_BASEURL - home URL for your site: + * define( 'CIVICRM_UF_BASEURL' , 'http://www.example.com/backdrop/'); + * * EXAMPLE - Joomla Installations: * If your site's home url is http://www.example.com/joomla/ * -- 2.25.1