Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
Index: CRM/Event/Form/Registration/Confirm.php===================================================================--- CRM/Event/Form/Registration/Confirm.php (revision 29557)+++ CRM/Event/Form/Registration/Confirm.php (working copy)@@ -787,7 +787,7 @@ } } + $this->set( 'participantNumber', $participantID ); } //end of function /**Index: CRM/Event/Form/Registration/ThankYou.php===================================================================--- CRM/Event/Form/Registration/ThankYou.php (revision 29557)+++ CRM/Event/Form/Registration/ThankYou.php (working copy)@@ -65,6 +65,8 @@ $customGroup = $this->get('customProfile'); $this->assign( 'customProfile',$customGroup ); CRM_Utils_System::setTitle(CRM_Utils_Array::value('thankyou_title',$this->_values['event']));+ $participantNumber = $this->get( 'participantNumber' );+ $this->assign( 'participantNumber', $participantNumber ); }
<p>{ts 1=$participantNumber}Your registration has been processed successfully. Your confirmation number is: TX07-%1. Please print this page for your records.{/ts}</p>{if $is_email_confirm} <p>{ts 1=$email}A registration confirmation email has also been sent to %1{/ts}</p>{/if}