Loading...
 
Skip to main content

Smarty Template indicator: add a note for tiki.tpl and error.tpl after the doctype

Status
Closed
Subject
Smarty Template indicator: add a note for tiki.tpl and error.tpl after the doctype
Version
16.x
7.x
Category
  • Feature request
Feature
Templates (Smarty)
Theme: Look & feel, Styles, CSS, Theme Control Center
Resolution status
Fixed or Solved
Submitted by
Marc Laporte
Lastmod by
Marc Laporte, Philippe Cloutier
Rating
(0)
Description
This change was made because IE7 & IE8 has trouble with a page which starts with "<!-- TPL:". However, for a new developer, it's useful to know about tiki.tpl and error.tpl Suggested layout:
Copy to clipboard
<!DOCTYPE html> <!-- TPL: tiki.tpl is used as the global page container --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- TPL: header.tpl --><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Copy to clipboard
<!DOCTYPE html> <!-- TPL: error.tpl is used as the global page container --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- TPL: header.tpl --><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Solution
This was solved per the suggestion by r61822.
Importance
2
Priority
10
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3880
Created
Wednesday 11 May, 2011 22:28:37 UTC
by Marc Laporte
LastModif
Friday 14 July, 2017 18:45:29 UTC


Show PHP error messages