CRM-12721 Change a=true to a=1. Add fe=1 if missing. Add conditional to display URLs...
[civicrm-core.git] / templates / CRM / Event / Form / ManageEvent / EventInfo.hlp
index c7024346dc28a39764457547cba5435b213d0f10..03372481d6e2e8630d49981e4444bd9ac72c72ee 100644 (file)
 {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}