You might have a specific page that displays more information that the form.
Check SocialNetwork.drupal as an example
*}
-{capture assign=petitionURL}{crmURL p='civicrm/petition/sign' q="sid=`$petition_id`" a=true fe=1 h=1}{/capture}
+{capture assign=petitionURL}{crmURL p='civicrm/petition/sign' q="sid=`$petition_id`" a=1 fe=1 h=1}{/capture}
{include file="CRM/common/SocialNetwork.tpl" url=$petitionURL title=$petitionTitle pageURL=$petitionURL}
<head>
<title>{$pageTitle}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <base href="{crmURL p="" a=true}" /><!--[if IE]></base><![endif]-->
+ <base href="{crmURL p="" a=1}" /><!--[if IE]></base><![endif]-->
<style type="text/css" media="screen, print">@import url({$config->userFrameworkResourceURL}css/print.css);</style>
</head>
</p>
</div>
{if $isShare}
- {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="$qParams" a=true fe=1 h=1}{/capture}
+ {capture assign=contributionUrl}{crmURL p='civicrm/contribute/transact' q="$qParams" a=1 fe=1 h=1}{/capture}
{include file="CRM/common/SocialNetwork.tpl" url=$contributionUrl title=$title pageURL=$contributionUrl}
{/if}
</div>
<tr class="crm-contribution-contributionpage-settings-form-block-is_active"><td> </td><td>{$form.is_active.html} {$form.is_active.label}<br />
{if $contributionPageID}
<span class="description">
- {if $config->userSystem->is_drupal EQ '1'}
+ {if $config->userSystem->is_drupal || $config->userFramework EQ 'WordPress'}
{ts}When your page is active, you can link people to the page by copying and pasting the following URL:{/ts}<br />
- <strong>{crmURL a=true p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageID`"}</strong>
+ <strong>{crmURL a=1 fe=1 p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageID`"}</strong>
{elseif $config->userFramework EQ 'Joomla'}
{ts 1=$title}When your page is active, create front-end links to the contribution page using the Menu Manager. Select <strong>Administer CiviCRM » CiviContribute » Manage Contribution Pages</strong> and select <strong>%1</strong> for the contribution page.{/ts}
{/if}
<tr>
<td><a href="{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$contributionPageID`"}" id="idLive">» {ts}Online Contribution{/ts}</a><br /> ({ts}Live{/ts})</td>
<td>{ts}Review your customized <strong>LIVE</strong> online contribution page here. Use the following URL in links and buttons on any website to send visitors to this live page{/ts}:<br />
- <strong>{crmURL a=true p="civicrm/contribute/transact" q="reset=1&id=`$contributionPageID`"}</strong></td>
+ <strong>{crmURL a=1 fe=1 p="civicrm/contribute/transact" q="reset=1&id=`$contributionPageID`"}</strong></td>
</tr>
</table>
{/htxt}
{htxt id="id-listing"}
{ts}To allow users to see a listing of participants, set this field to 'Name' (list names only), 'Name and Email', or 'Name, Status and Register Date'.{/ts}
{if !$params.isTemplate}
- {if $config->userSystem->is_drupal}
- {ts}You will need to set Drupal Access Control permissions to include 'view event participants' for any Roles you want to access this listing.{/ts}
- {if $params.action eq 2 AND $params.entityId}
- {ts}Create links to the listing page by copying the following URL, and adding it to the Event Description below and / or as a menu item or links elsewhere on your site:{/ts}<br />
- <em>{crmURL a=true p='civicrm/event/participant' q="reset=1&id=`$params.entityId`"}</em>
- {else} {* Creating new event *}
- {ts}After adding your event, create links to the listing page by copying the URL provided in the 'Participant Listing' section of the Configure Event page.{/ts}
- {/if}
- {elseif $config->userFramework EQ 'Joomla'}
- {ts 1=$params.entityId}Then create front-end links to the Participant Listing page using the Menu Manager. Select <strong>Participant Listing Page</strong> and enter <strong>%1</strong> for the Event ID.{/ts}
+ {ts}You will need to set Access Control permissions to include 'view event participants' for any Roles you want to access this listing.{/ts}
+ {if $config->userSystem->is_drupal || $config->userFramework EQ 'WordPress'}
+ {if $params.action eq 2 AND $params.entityId}
+ {ts}Create links to the listing page by copying the following URL, and adding it to the Event Description below and / or as a menu item or links elsewhere on your site:{/ts}<br />
+ <em>{crmURL a=1 p='civicrm/event/participant' q="reset=1&id=`$params.entityId`"}</em>
+ {else} {* Creating new event *}
+ {ts}After adding your event, create links to the listing page by copying the URL provided in the 'Participant Listing' section of the Configure Event page.{/ts}
{/if}
+ {elseif $config->userFramework EQ 'Joomla'}
+ {ts 1=$params.entityId}Then create front-end links to the Participant Listing page using the Menu Manager. Select <strong>Participant Listing Page</strong> and enter <strong>%1</strong> for the Event ID.{/ts}
+ {/if}
{/if}
{/htxt}
<tr>
<td> </td>
<td class="description">
- {if $config->userSystem->is_drupal}
+ {if $config->userSystem->is_drupal || $config->userFramework EQ 'WordPress'}
{ts}When this Event is active, create links to the Event Information page by copying and pasting the following URL:{/ts}<br />
- <strong>{crmURL a=true p='civicrm/event/info' q="reset=1&id=`$eventID`"}</strong>
+ <strong>{crmURL a=1 fe=1 p='civicrm/event/info' q="reset=1&id=`$eventID`"}</strong>
{elseif $config->userFramework EQ 'Joomla'}
{ts 1=$eventID}When this Event is active, create front-end links to the Event Information page using the Menu Manager. Select <strong>Event Info Page</strong> and enter <strong>%1</strong> for the Event ID.{/ts}
{/if}
{if $params.isOnlineRegistration}
<tr>
- <td><a href="{crmURL p='civicrm/event/register' q="reset=1&action=preview&id=`$params.eventId`" fe=1}" id="idTest-drive">» {ts}Registration{/ts}</a><br />({ts}test-drive{/ts})</td>
+ <td><a href="{crmURL p='civicrm/event/register' q="reset=1&action=preview&id=`$params.eventId`" a=1 fe=1}" id="idTest-drive">» {ts}Registration{/ts}</a><br />({ts}test-drive{/ts})</td>
<td>{ts}Test-drive the entire online registration process - including custom fields, confirmation, thank-you page, and receipting. Fee payment transactions will be directed to your payment processor's test server. <strong>No live financial transactions will be submitted. However, a contact record will be created or updated and participant and contribution records will be saved to the database. Use obvious test contact names so you can review and delete these records as needed.</strong>{/ts}</td>
</tr>
<tr>
- <td><a href="{crmURL p='civicrm/event/register' q="reset=1&id=`$params.eventId`"}" id="idLive">» {ts}Registration{/ts}</a><br />({ts}live{/ts})</td>
+ <td><a href="{crmURL a=1 fe=1 p='civicrm/event/register' q="reset=1&id=`$params.eventId`"}" id="idLive">» {ts}Registration{/ts}</a><br />({ts}live{/ts})</td>
<td>{ts}Review your customized <strong>LIVE</strong> online event registration page here. Use the following URL in links and buttons on any website to send visitors to this live page{/ts}:<br />
- <strong>{crmURL a=true p='civicrm/event/register' q="reset=1&id=`$params.eventId`"}</strong>
+ <strong>{crmURL a=1 fe=1 p='civicrm/event/register' q="reset=1&id=`$params.eventId`"}</strong>
</td>
</tr>
{/if}
{include file="CRM/Event/Page/iCalLinks.tpl"}
{/if}
{if $event.is_share}
- {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&reset=1" a=true fe=1 h=1}{/capture}
+ {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&reset=1" a=1 fe=1 h=1}{/capture}
{include file="CRM/common/SocialNetwork.tpl" url=$eventUrl title=$event.title pageURL=$eventUrl}
{/if}
</div>
{/if}
{if $event.is_share }
- {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&reset=1" a=true fe=1 h=1}{/capture}
+ {capture assign=eventUrl}{crmURL p='civicrm/event/info' q="id=`$event.id`&reset=1" a=1 fe=1 h=1}{/capture}
{include file="CRM/common/SocialNetwork.tpl" url=$eventUrl title=$event.title pageURL=$eventUrl}
{/if}
</div>
{if $isShare}
{if $context EQ 'event'}
- {capture assign=pageURL}{crmURL p='civicrm/event/info' q="id=`$entityID`&reset=1" a=true fe=1 h=1}{/capture}
+ {capture assign=pageURL}{crmURL p='civicrm/event/info' q="id=`$entityID`&reset=1" a=1 fe=1 h=1}{/capture}
{else}
- {capture assign=pageURL}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$entityID`" a=true fe=1 h=1}{/capture}
+ {capture assign=pageURL}{crmURL p='civicrm/contribute/transact' q="reset=1&id=`$entityID`" a=1 fe=1 h=1}{/capture}
{/if}
{include file="CRM/common/SocialNetwork.tpl" url=$pageURL title=$title pageURL=$pageURL}
{/if}