My BlogAbout MePortfolioTemplatesArticlesWeb StoreMessage Board (Forums)Guestbook

Marking up your tpl files to keep track of them

If you find it hard to keep track of what tpl file is used for what forum part or page theres a simple way to keep track of it. Open every tpl file and add an HTML comment containing its filename at the top and the bottom of it. So if you edit viewtopic_body.tpl you would add the comment <!-- start of viewtopic_body.tpl --> at the top, and <!-- end of viewtopic_body.tpl --> at the end of the file after all the other HTML and template code.

Post new comment



The content of this field is kept private and will not be shown publicly.


*

  • Web and e-mail addresses are automatically converted into links.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Verify comment authorship
Captcha Image: you will need to recognize the text in it.
*
Please type in the letters/numbers that are shown in the image above.