Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 3.1.3
-
Fix Version/s: 3.1.4
-
Component/s: Core CiviCRM
-
Labels:None
Description
On a couple of sites I am seeing this URL does not display the new site name field
http://drupal.demo.civicrm.org/civicrm/admin/setting/updateConfigBackend&reset=1
But the field is set to required so the sites are unable to save the form.
The fix is either to remove the 'required' or to show the field for all sites
The patch below 'fixes' it in that the field shows & so the page can be committed & the immediate problem is gone but I don't really know what this field is about - perhaps it's just the label in the civicrm_domain table so I'm not sure the correct approach.
Also, the help text has a typo in it.
Index: templates/CRM/Admin/Form/Setting/UpdateConfigBackend.tpl
===================================================================
— templates/CRM/Admin/Form/Setting/UpdateConfigBackend.tpl (revision 26715)
+++ templates/CRM/Admin/Form/Setting/UpdateConfigBackend.tpl (working copy)
@@ -41,11 +41,11 @@
<dt>
<dt>{$form.newBaseURL.label}</dt><dd>{$form.newBaseURL.html|crmReplace:class:'huge'}</dd>
<dt> </dt><dd class="description">{ts}
This is the URL for your Drupal or Joomla site URL (e.g. http://www.mysite.com/drupal/).
{/ts}</dt>-{if $oldSiteName}
+
<dt>{ts}Old Site Name{/ts}
</dt><dd>{$oldSiteName}</dd>
<dt>{$form.newSiteName.label}</dt><dd>{$form.newSiteName.html|crmReplace:class:'huge'}</dd>
<dt> </dt><dd class="description">
This is the your site name for a multisite install.
{/ts}</dt>
-
+
<dt></dt><dd>{$form.buttons.html}</dd>
</dl>