En:How can I find out which file caused a problem in a rendered page?

From phpCMS

Jump to: navigation, search

Question: How can I find out which file caused a problem in a rendered page?

Answer:

To find out which file contributed what to the generated page, it's a good idea to use HTML comments:

  • at the bottom of the header.tpl:
    <!--- header.tpl end --->,
  • in the home.tpl, just above the {CONTENT} field:
    <!--- home.tpl Content start --->
    and just below the {CONTENT} field:
    <!--- home.tpl Content end --->,
  • at the top of the footer.tpl:
    <!--- footer.tpl start --->.

This might help when viewing the source of the rendered page in your browser.

Diese Seite in anderen Sprachen: Deutsch

Main Page: FAQ MainPage | Top Page: English FAQ MainPage

Personal tools