3

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

<!-- xxx.tpl file invoked ... -->

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.

2
  • Can you give us a description of what you are wanting to accomplish? – Christia Feb 15 '17 at 22:02
  • What is the url you are looking at the source for? You get only the first .tpl invoked, and it may include others. – Joe Murray Feb 16 '17 at 11:53
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.