[ZCM] [ZC] 2323/ 1 Request "Page Template and DOCTYPE"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Fri, 11 May 2007 12:08:44 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2323 Update (Request) "Page Template and DOCTYPE" Status Pending, Zope/bug critical To followup, visit: http://www.zope.org/Collectors/Zope/2323 ============================================================== = Request - Entry #1 by sukhsc on May 11, 2007 12:08 pm When you use a pagetempalte to create a template for all your page tempalte pages with the use of slots, when the page is rendered it loses the <!DOCTYPE> tag at the top of the page. For example: IF the first two lines of your template with the slots in is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" metal:define-macro="page"> if you use the slots in another page template that page is rendered to be: <html xmlns="http://www.w3.org/1999/xhtml" metal:define-macro="page"> Losing the doctype tag at the top of the page. Thanks ==============================================================