Answers.Body: <p>a) This will happen automatically, assuming you want the "Event Info" page.  In fact, it's far more common for folks to ask how to disable or style this.  See my next answer for info on that.</p>
  
  <p>b) will require programming knowledge.  You can write a CiviCRM extension, or hire someone to do it.  Use <code>hook_civicrm_buildForm</code> to look up the custom field, inject it into a PHP variable, and to load a template snippet to display it.  Maybe also a little bit of jQuery or CSS to alter its appearance/location on the page.</p>
  
  <p>c) depends on whether the custom field is already loaded into the template (I'm not sure).  To check, insert <code>{debug}</code> into the template and send yourself a test message.  If it IS there, great!  Just copy/paste the token.</p>
  
  <p>If it's not there, see this answer: <a href="https://civicrm.stackexchange.com/questions/7222/how-do-i-pass-a-variable-to-a-smarty-template">How do I pass a variable to a smarty template?</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-20T18:14:17.543Z
Answers.Text: Thanks Jon.  This is super helpful!  Just one question about part (a).  Right now timezone is not shown at all on the event info page.  Are you saying that if I create a custom field then it will be shown automatically on the event info page?
Answers.UserDisplayName: richardsplayground
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-20T19:47:59.990Z
Answers.Text: That's correct @richardsplayground
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-20T17:22:52.230Z
Answers.LastActivityDate: 2016-12-20T17:22:52.230Z
Answers.LastEditDate: 2017-04-13T12:53:13.017Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I would like to show the event timezone on the page that lists event details and the page that a registrant gets as confirmation after they register.  Today my events are all in the same time zone but that will change in the future.</p>
  
  <p>I can capture the time zone in a custom field but how do I get that custom field to show up</p>
  
  <p>a) on event details pages</p>
  
  <p>b) on registration confirmation pages</p>
  
  <p>c) on event confirmation e-mails  (I have read <a href="https://civicrm.stackexchange.com/questions/7538/event-time-zone">this page</a> re confirmation e-mails which was very helpful, but I do not know how to access a custom field from within a smarty template)</p>
  
  <p>Preferably the solution would not require changes that break upgrades.</p>
  
  <p>Any ideas?</p>
  
  <p>Thank you</p>
  
Tags: <civievent>
Title: How to show time zone in event details page and registration confirmation page
ThreadText: # How to show time zone in event details page and registration confirmation page
  
  (Asked by: username_0 on 2016-12-20)
  
  I would like to show the event timezone on the page that lists event details and the page that a registrant gets as confirmation after they register. Today my events are all in the same time zone but that will change in the future.
  
  I can capture the time zone in a custom field but how do I get that custom field to show up
  
  a) on event details pages
  
  b) on registration confirmation pages
  
  c) on event confirmation e-mails (I have read [this page](https://civicrm.stackexchange.com/questions/7538/event-time-zone) re confirmation e-mails which was very helpful, but I do not know how to access a custom field from within a smarty template)
  
  Preferably the solution would not require changes that break upgrades.
  
  Any ideas?
  
  Thank you
  
  **Tags:** civievent
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-12-20. Score: 1 | Accepted answer
  
  a) This will happen automatically, assuming you want the "Event Info" page. In fact, it's far more common for folks to ask how to disable or style this. See my next answer for info on that.
  
  b) will require programming knowledge. You can write a CiviCRM extension, or hire someone to do it. Use `hook_civicrm_buildForm` to look up the custom field, inject it into a PHP variable, and to load a template snippet to display it. Maybe also a little bit of jQuery or CSS to alter its appearance/location on the page.
  
  c) depends on whether the custom field is already loaded into the template (I'm not sure). To check, insert `{debug}` into the template and send yourself a test message. If it IS there, great! Just copy/paste the token.
  
  If it's not there, see this answer: [How do I pass a variable to a smarty template?](https://civicrm.stackexchange.com/questions/7222/how-do-i-pass-a-variable-to-a-smarty-template)
  
  > **Comments:**
  > **username_0**: Thanks Jon.  This is super helpful!  Just one question about part (a).  Right now timezone is not shown at all on the event info page.  Are you saying that if I create a custom field then it will be shown automatically on the event info page?  
  > **username_1**: That's correct @username_0  
  
  ---
  
  