{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* Configure Membership signup/renewal block for an Online Contribution page *}
{ts}Use this form to enable and configure a Membership Signup and Renewal section for this Online Contribution Page. If you're not using this page for membership signup, leave the Enabled box un-checked..{/ts} {docURL page="user/membership/setup"}
{if $form.membership_type.html}
{include file="CRM/common/formButtons.tpl" location="top"}
{$form.member_is_active.html} {$form.member_is_active.label}
{ts}Include a Membership Signup section in this Online Contribution page?{/ts}
{if $isQuick} {/if}
{$form.new_title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='new_title' id=$membershipBlockId}{/if}{$form.new_title.html}
{ts}Membership section title - for new member signups.{/ts}
{$form.new_text.label} {if $action == 2}
{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='new_text' id=$membershipBlockId}{/if}
{$form.new_text.html}
{ts}Membership section introductory text - for new member signups.{/ts}

{$form.renewal_title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='renewal_title' id=$membershipBlockId}{/if}{$form.renewal_title.html}
{ts}Membership section title - displayed to renewing members.{/ts}
{$form.renewal_text.label} {if $action == 2}
{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='renewal_text' id=$membershipBlockId}{/if}
{$form.renewal_text.html}
{ts}Membership section introductory text - displayed to renewing members.{/ts}
{$form.member_price_set_id.label} {if $price eq false} {capture assign=adminPriceSetsURL}{crmURL p="civicrm/admin/price" q="reset=1"}{/capture}
{ts 1=$adminPriceSetsURL}No Membership Price Sets have been configured / enabled for your site. Price sets allow you to configure more complex membership signup and renewal options, including allowing constituents to sign up for multiple memberships at the same time. Click here if you want to configure price sets for your site.{/ts}
{else} {$form.member_price_set_id.html} {/if}
{ts}Click here if you want to configure the Membership Types below as part of a Price Set, with the added flexibility and complexity that entails.{/ts}
{$form.membership_type_label.label} {$form.membership_type_label.html}
{$form.membership_type.label} {assign var="count" value="1"} {strip} {ts}Default{/ts}
{if $is_recur}
{/if} {assign var="index" value="1"} {foreach name=outer key=key item=item from=$form.membership_type} {if $index < 10} {assign var="index" value=`$index+1`} {else} {if $is_recur} {/if} {/if} {/foreach}
{ts}Include these membership types{/ts}{ts}Auto-renew{/ts}
{$form.membership_type.$key.html} {$form.membership_type_default.$key.html} {if $auto_renew.$key} {assign var="element" value="auto_renew"|cat:_|cat:$key}{$form.$element.html} {else} {ts}(Not Available){/ts} {/if}
{/strip}
{$form.is_required.html} {$form.is_required.label}
{ts}If checked, user must signup for one of the displayed membership options before continuing.{/ts}
{$form.is_separate_payment.html} {$form.is_separate_payment.label} {help id="id-separate-pay"}
{ts}Check this box if you are including both Membership Signup/Renewal AND a Contribution Amount section, AND you want the membership fee to be charged separately from any additional contribution amount.{/ts}
{$form.display_min_fee.html} {$form.display_min_fee.label} {help id="id-display-fee"}
{ts}Display the membership fee along with the membership name and description for each membership option?{/ts}
{else}
{capture assign=linkURL}{crmURL p="civicrm/admin/member/membershipType" q="reset=1"}{/capture} {ts 1=$linkURL}You need to have at least one Membership Type with 'Public' visibility in order to enable self-service Membership Signup and Renewal.{/ts}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{literal} {/literal} {if $isQuick} {literal} {/literal} {/if}