{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *}

{ts}Configure Widget{/ts}

{if $showStatus}
{ts}It looks like you may have posted and / or distributed the flash version of the Contribution widget. We won't be supporting the flash version in next release. You should try and get all sites using the flash widget to update to the improved HTML widget code below as soon as possible.{/ts}
{/if}
{ts}CiviContribute widgets allow you and your supporters to easily promote this fund-raising campaign. Widget code can be added to any web page - and will provide a real-time display of current contribution results, and a direct link to this contribution page.{/ts} {help id="id-intro"}
{include file="CRM/common/formButtons.tpl" location="top"}
 {$form.is_active.html} {$form.is_active.label}
{$form.title.label} *{$form.title.html}
{$form.button_title.label}{$form.button_title.html}
{$form.about.label} *{$form.about.html}
{ts}Enter content for the about message. You may include HTML formatting tags. You can also include images, as long as they are already uploaded to a server - reference them using complete URLs.{/ts}
{ts}Preview Widget and Get Code{/ts}
{if $widget_id}
{ts}Click Save & Preview to save any changes to your settings, and preview the widget again on this page.{/ts}
{include file="CRM/Contribute/Page/Widget.tpl" widgetId=$widget_id cpageId=$cpageId}
{else}
{ts}Click Save & Preview to save your settings and preview the widget on this page.{/ts}
{/if}
{$form._qf_Widget_refresh.html}
{* Include "get widget code" section if widget has been created for this page and is_active. *} {if $widget_id}
{ts}Add this widget to any web page by copying and pasting the code below.{/ts}

» Select Code {else}
{ts}The code for adding this widget to web pages will be displayed here after you click Save and Preview.{/ts}
{/if}
{$form._qf_Widget_refresh.html}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{literal} {/literal}