{* +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {crmRegion name="contribute-form-contributionpage-settings-main"}
{if $action eq 0}

{ts}This is the first step in creating a new online Contribution Page. You can create one or more different Contribution Pages for different purposes, audiences, campaigns, etc. Each page can have it's own introductory message, pre-configured contribution amounts, custom data collection fields, etc.{/ts}

{ts}In this step, you will configure the page title, financial type (donation, campaign contribution, etc.), goal amount, and introductory message. You will be able to go back and modify all aspects of this page at any time after completing the setup wizard.{/ts}

{else} {ts}Use this form to edit the page title, financial type (e.g. donation, campaign contribution, etc.), goal amount, introduction, and status (active/inactive) for this online contribution page.{/ts} {/if}
{include file="CRM/common/formButtons.tpl" location="top"}
{* CRM-7362 --add campaign to contribution page *} {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignTrClass="crm-contribution-contributionpage-settings-form-block-campaign_id"}
{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='title' id=$contributionPageID}{/if}{$form.title.html}
{ts}This title will be displayed at the top of the page unless the frontend title field is filled out.
Please use only alphanumeric, spaces, hyphens and dashes for Title.{/ts}
{$form.contribution_page_frontend_title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='frontend_title' id=$contributionPageID}{/if}{$form.contribution_page_frontend_title.html}
{ts}This title will be displayed at the top of the page.
Please use only alphanumeric, spaces, hyphens and dashes for Title.{/ts}
{$form.financial_type_id.label}{$form.financial_type_id.html}
{ts}Select the corresponding financial type for contributions made using this page.{/ts} {help id="id-financial_type"}
 {$form.is_organization.html} {$form.is_organization.label} {help id="id-is_organization"}
  {if !$invalidProfiles} {/if}
{capture assign="profileURL"}{crmURL p='civicrm/admin/uf/group' q='reset=1'}{/capture} {if $invalidProfiles} {ts 1=$profileURL}You must configure a valid organization profile in order to allow individuals to contribute on behalf of an organization. Valid profiles include Contact and / or Organization fields, and may include Contribution and Membership fields.{/ts} {else} {ts 1=$profileURL}To change the organization data collected use the "On Behalf Of Organization" profile (Administer > Customize Data and Screens > Profiles).{/ts} {/if}
{$form.onbehalf_profile_id.label} {$form.onbehalf_profile_id.html}
{$form.for_organization.label} {$form.for_organization.html}
{ts}Text displayed next to the checkbox on the contribution form.{/ts}
  {$form.is_for_organization.html}
{ts}Check 'Required' to force ALL users to contribute/signup on behalf of an organization.{/ts}
{$form.intro_text.label}
{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='intro_text' id=$contributionPageID}{/if} {help id="id-intro_msg"}
{$form.intro_text.html}
{$form.goal_amount.label}{$form.goal_amount.html} {help id="id-goal_amount"}
{$form.start_date.label} {help id="id-start_date"} {$form.start_date.html}
{$form.end_date.label} {$form.end_date.html}
 {$form.honor_block_is_active.html}{$form.honor_block_is_active.label} {help id="id-honoree_section"}
{$form.honor_block_title.label} {$form.honor_block_title.html}
{ts}Title for the Honoree section (e.g. "Honoree Information").{/ts}
{crmAPI var='result' entity='OptionGroup' action='get' sequential=1 name='soft_credit_type'} {$form.honor_block_text.label} {$form.honor_block_text.html}
{ts}Optional explanatory text for the Honoree section (displayed above the Honoree fields).{/ts}
{$form.soft_credit_types.label} {$form.soft_credit_types.html}
{$form.honoree_profile.label} {$form.honoree_profile.html} {ts}Profile to be included in the honoree section{/ts}
{if $contributionPageID}
  {$form.is_confirm_enabled.html} {$form.is_confirm_enabled.label}
{ts}If you disable this contributions will be processed immediately after submitting the contribution form.{/ts}
  {$form.is_share.html} {$form.is_share.label} {help id="id-is_share"}
  {$form.is_active.html} {$form.is_active.label}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{include file="CRM/common/showHideByFieldValue.tpl" trigger_field_id ="is_organization" trigger_value = 1 target_element_id ="for_org_text" target_element_type ="table-row" field_type ="radio" invert = 0 } {include file="CRM/common/showHideByFieldValue.tpl" trigger_field_id ="is_organization" trigger_value = 1 target_element_id ="for_org_option" target_element_type ="table-row" field_type ="radio" invert = 0 } {/crmRegion} {crmRegion name="contribute-form-contributionpage-settings-post"} {/crmRegion}