Answers.Body: <p>I think it is Possible to customize the error, On your install, visit the Form Registration.php in CRM/Event/Form directory.</p>
  
  <p>The the error message is found in the function checkValidEvent(XXXX). and the line looks like this</p>
  
  <p>CRM_Core_Error::statusBounce(ts('Registration for this event ended on %1', array(1 => $endDate)), $redirect);</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-01T04:44:58.087Z
Answers.Text: Great - might be helpful to add to the answer about the right process for customising rather than modifying core eg https://wiki.civicrm.org/confluence/display/CRMDOC/Directories - or maybe there is a good question like to that link to (searching)
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-01T04:49:46.260Z
Answers.Text: started one here in case there really isn't an FAQ type question for this http://civicrm.stackexchange.com/questions/11547/how-to-add-custom-templates-tpls-or-php-files
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-01T04:08:53.367Z
Answers.LastActivityDate: 2016-05-01T04:08:53.367Z
Answers.UserDisplayName: Merci Mukwe
Body: <p>Is there a way to change the error message that users receive when they try to register for an event online for which the registration date has passed?  Currently the message is:  ! ERROR  Registration for this event ended on April 25th, 2016 12:00 PM.</p>
  
Tags: <civievent>
Title: Error Message Customization
ThreadText: # Error Message Customization
  
  (Asked by: username_0 on 2016-04-29)
  
  Is there a way to change the error message that users receive when they try to register for an event online for which the registration date has passed? Currently the message is: ! ERROR Registration for this event ended on April 25th, 2016 12:00 PM.
  
  **Tags:** civievent
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-05-01. Score: 1
  
  I think it is Possible to customize the error, On your install, visit the Form Registration.php in CRM/Event/Form directory.
  
  The the error message is found in the function checkValidEvent(XXXX). and the line looks like this
  
  CRM\_Core\_Error::statusBounce(ts('Registration for this event ended on %1', array(1 => $endDate)), $redirect);
  
  > **Comments:**
  > **username_2**: Great - might be helpful to add to the answer about the right process for customising rather than modifying core eg https://wiki.civicrm.org/confluence/display/CRMDOC/Directories - or maybe there is a good question like to that link to (searching)  
  > **username_2**: started one here in case there really isn't an FAQ type question for this http://civicrm.stackexchange.com/questions/11547/how-to-add-custom-templates-tpls-or-php-files  
  
  ---
  
  