[Zope] standard_html_header difficulties - a dead-end ?

Janko Hauser jhauser@ifm.uni-kiel.de
Mon, 6 Dec 1999 17:39:50 +0100 (CET)


This is working here. 

In folder DEMO

  DTML-method standard_head
     with 
     <HTML>
         <HEAD>
            <TITLE><!--#var title_or_id--></TITLE>
         </HEAD>
         <BODY BGCOLOR="#FFFFFF">

  Folder MYFOLDER

      DTML-Document index_html (title -> 'a simple start')
        with 
         <!--#var standard_header-->
         <h2><!--#var title_or_id--></h2>
         <p>
         This is the <!--#var id--> Document. 
         <dtml-var document_title>
         </p>
         <!--#var standard_html_footer-->

This renders to: (Sorry I have no public site)

<HTML><HEAD><TITLE>a simple start</TITLE></HEAD><BODY BGCOLOR="#FFFFFF">

<h2>a simple start</h2>
<p>
This is the index_html Document. a simple start
</p>
<p><a href="http://www.zope.org/Credits">
    <img src="http://lisboa.ifm.uni-kiel.de:9080/p_/ZopeButton" 
       width="115" height="50" border="0" alt="Powered by Zope"></a>
</p>
</BODY></HTML>


Is this what you want? Important is the difference between DTML-Method
and DTML-Document

__Janko