[#4] (wip) Custom field mapping configuration
This commit is contained in:
parent
73481fb7ed
commit
b85291527d
5 changed files with 118 additions and 6 deletions
|
@ -27,3 +27,17 @@
|
|||
{htxt id='id-financial_type_id_recur'}
|
||||
{ts domain="de.systopia.twingle"}Select which financial type to use for recurring contributions.{/ts}
|
||||
{/htxt}
|
||||
|
||||
{htxt id='id-custom_field_mapping'}
|
||||
{ts domain="de.systopia.twingle"}<p>Map Twingle custom fields to CiviCRM custom fields using the following format (each assignment in a separate line):</p>
|
||||
<pre>twingle_field_1=custom_123<br />twingle_field_2=custom_789</pre>
|
||||
<p>Always use the <code>custom_[id]</code> notation for CiviCRM custom fields.</p>
|
||||
<p>Only custom fields extending one of the following CiviCRM entities are allowed:</p>
|
||||
<ul>
|
||||
<li><strong>Contact</strong> – Will be set on the Individual contact</li>
|
||||
<li><strong>Individual</strong> – Will be set on the Individual contact</li>
|
||||
<li><strong>Organization</strong> – Will be set on the Organization contact, if an organisation name was submitted</li>
|
||||
<li><strong>Contribution</strong> – Will be set on the contribution</li>
|
||||
<li><strong>ContributionRecur</strong> – Will be set on the recurring contribution and deriving single contributions</li>
|
||||
</ul>{/ts}
|
||||
{/htxt}
|
||||
|
|
|
@ -161,7 +161,7 @@
|
|||
|
||||
<fieldset>
|
||||
|
||||
<legend>{ts domain="de.systopia.twingle"}Groups{/ts}</legend>
|
||||
<legend>{ts domain="de.systopia.twingle"}Groups and Correlations{/ts}</legend>
|
||||
|
||||
<table class="form-layout-compressed">
|
||||
|
||||
|
@ -190,6 +190,28 @@
|
|||
<td class="content">{$form.contribution_source.html}</td>
|
||||
</tr>
|
||||
|
||||
<tr class="crm-section">
|
||||
<td class="label">
|
||||
{$form.custom_field_mapping.label}
|
||||
<a
|
||||
onclick='
|
||||
CRM.help(
|
||||
"{ts domain="de.systopia.twingle"}Custom field mapping{/ts}",
|
||||
{literal}{
|
||||
"id": "id-custom_field_mapping",
|
||||
"file": "CRM\/Twingle\/Form\/Profile"
|
||||
}{/literal}
|
||||
);
|
||||
return false;
|
||||
'
|
||||
href="#"
|
||||
title="{ts domain="de.systopia.twingle"}Help{/ts}"
|
||||
class="helpicon"
|
||||
></a>
|
||||
</td>
|
||||
<td class="content">{$form.custom_field_mapping.html}</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</fieldset>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue