Answers.Body: <p>In current 4.7 you need to enable debugging for the tpl to be shown in the source.  Go to <code>Administer &gt; System Settings &gt; Debugging and Error Handling</code> then select <code>Enable Debugging</code> and save.  Remember to disable it when done.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-16T13:58:17.727Z
Answers.LastActivityDate: 2017-02-16T13:58:17.727Z
Answers.UserDisplayName: Aidan
Body: <p>I'm using CiviCRM 4.7.16 with Drupal 7.</p>
  
  <p>In the previous versions, the invoice tpl file can be found by viewing the page source html in the browser. It's in a comment line and it is something like </p>
  
  <pre><code>&lt;!-- xxx.tpl file invoked ... --&gt;
  </code></pre>
  
  <p>But I couldn't find these comment lines when viewing source in CiviCRM 4.7.16.</p>
  
  <p>How do I find the invoked template in 4.7?</p>
  
  <p>Thanks.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-15T22:02:55.997Z
Comments.Text: Can you give us a description of what you are wanting to accomplish?
Comments.UserDisplayName: Christia
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-16T11:53:19.330Z
Comments.Text: What is the url you are looking at the source for? You get only the first .tpl invoked, and it may include others.
Comments.UserDisplayName: Joe Murray
Tags: <drupal><templates>
Title: Where to find the path and the name of the tpl file in source code in 4.7.16
ThreadText: # Where to find the path and the name of the tpl file in source code in 4.7.16
  
  (Asked by: username_0 on 2017-02-14)
  
  I'm using CiviCRM 4.7.16 with Drupal 7.
  In the previous versions, the invoice tpl file can be found by viewing the page source html in the browser. It's in a comment line and it is something like 
  
  
  But I couldn't find these comment lines when viewing source in CiviCRM 4.7.16.
  How do I find the invoked template in 4.7?
  Thanks.
  
  **Tags:** drupal, templates
  
  > **Comments:**
  > **username_1**: Can you give us a description of what you are wanting to accomplish?  
  > **username_2**: What is the url you are looking at the source for? You get only the first .tpl invoked, and it may include others.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2017-02-16. Score: 4
  
  In current 4.7 you need to enable debugging for the tpl to be shown in the source. Go to `Administer > System Settings > Debugging and Error Handling` then select `Enable Debugging` and save. Remember to disable it when done.
  
  
  ---
  
  