Skip to content

Commit

Permalink
dev/core#6 Add in help text about the is public setting for custom gr…
Browse files Browse the repository at this point in the history
…oups
  • Loading branch information
seamuslee001 committed Nov 3, 2018
1 parent 9fb047b commit edf90a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/CRM/Custom/Form/Group.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</tr>
<tr>
<td>&nbsp;</td>
<td>{$form.is_public.html} {$form.is_public.label}</td>
<td>{$form.is_public.html} {$form.is_public.label} {help id="id-is-public"}</td>
</tr>
<tr class="html-adjust">
<td class="label">{$form.help_pre.label} <!--{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_custom_group' field='help_pre' id=$gid}{/if}-->{help id="id-help_pre"}</td>
Expand Down
9 changes: 8 additions & 1 deletion templates/CRM/Custom/Page/Group.hlp
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,19 @@
{ts}Check this box if you want only the title for this fieldset to be displayed when the page is initially loaded (fields are hidden) on advanced search.{/ts}
{/htxt}

{htxt id="id-is-public-title"}
{ts}Is this Custom Group Public{/ts}
{/htxt}
{htxt id="id-is-public"}
{ts}Check this box if you want this custom group to be displayed on public forms e.g. Event Information page. Only public custom groups will be included in event receipts.{/ts} {docURL page="user/organising-your-data/creating-custom-fields/#is-this-custom-field-set-public" title"Read More"}
{/htxt}

{htxt id="id-help_pre-title"}
{ts}Pre Help{/ts}
{/htxt}
{htxt id="id-help_pre"}
{ts}Explanatory text displayed at the beginning of this sets of fields.{/ts}
{/htxt}
{/htxt}

{htxt id="id-help_post-title"}
{ts}Post Help{/ts}
Expand Down

0 comments on commit edf90a5

Please sign in to comment.