2 +--------------------------------------------------------------------+
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2020 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
28 {ts}You may configure these upload directories using absolute paths or path variables.{/ts}
29 {help id='id-path_vars'}
32 {ts}If you modify the defaults, make sure that your web server has write access to the directories.{/ts}
35 <div class="crm-block crm-form-block crm-path-form-block">
36 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
37 <table class="form-layout">
38 <tr class="crm-path-form-block-uploadDir">
39 <td class="label">{$form.uploadDir.label}</td>
40 <td>{$form.uploadDir.html|crmAddClass:'huge40'}<br />
41 <span class="description">{ts}File system path where temporary CiviCRM files - such as import data files - are uploaded.{/ts}</span>
44 <tr class="crm-path-form-block-imageUploadDir">
45 <td class="label">{$form.imageUploadDir.label}</td>
46 <td>{$form.imageUploadDir.html|crmAddClass:'huge40'}<br />
47 <span class="description">{ts}File system path where image files are uploaded. Currently, this path is used for images associated with premiums (CiviContribute thank-you gifts).{/ts}</span>
50 <tr class="crm-path-form-block-customFileUploadDir">
51 <td class="label">{$form.customFileUploadDir.label}</td>
52 <td>{$form.customFileUploadDir.html|crmAddClass:'huge40'}<br />
53 <span class="description">{ts}Path where documents and images which are attachments to contact records are stored (e.g. contact photos, resumes, contracts, etc.). These attachments are defined using 'file' type custom fields.{/ts}</span>
56 <tr class="crm-path-form-block-customTemplateDir">
57 <td class="label">{$form.customTemplateDir.label}</td>
58 <td>{$form.customTemplateDir.html|crmAddClass:'huge40'}<br />
59 <span class="description">{ts}Path where site specific templates are stored if any. This directory is searched first if set. Custom JavaScript code can be added to templates by creating files named <em>templateFile.extra.tpl</em>.{/ts} {docURL page="Customize Built-in Screens" resource="wiki"}</span><br />
60 <span class="description">{ts}CiviCase configuration files can also be stored in this custom path.{/ts} {docURL page="user/case-management/set-up"}</span>
63 <tr class="crm-path-form-block-customPHPPathDir">
64 <td class="label">{$form.customPHPPathDir.label}</td>
65 <td>{$form.customPHPPathDir.html|crmAddClass:'huge40'}<br />
66 <span class="description">{ts}Path where site specific PHP code files are stored if any. This directory is searched first if set.{/ts}</span>
69 <tr class="crm-path-form-block-extensionsDir">
70 <td class="label">{$form.extensionsDir.label}</td>
71 <td>{$form.extensionsDir.html|crmAddClass:'huge40'}<br />
72 <span class="description">{ts}Path where CiviCRM extensions are stored.{/ts}</span>
76 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>