[Zope] Re: standard_html_header & index_html

Michael Haubenwallner michael at d2m.at
Thu Sep 16 14:43:37 EDT 2004


John Poltorak wrote:

> On Thu, Sep 16, 2004 at 02:16:57PM -0400, Paul Winkler wrote:
> 
>>On Thu, Sep 16, 2004 at 06:40:05PM +0100, John Poltorak wrote:
>>
>>>On Thu, Sep 16, 2004 at 01:27:17PM -0400, Jonathan Hobbs wrote:
>>>
>>>>From: "John Poltorak" <jp at warpix.org>
>>>>
>>>>>How do I include standard_html_header in index_html?
>>>>>
>>>>>It seems to get ignored when I use it..
>>>>
>>>>
>>>><dtml-var standard_html_header>
>>>>
>>>>... your html/dtml/whatever...
>>>>
>>>><dtml-var standard_html_footer>
>>>>
>>>>
>>>>should do it.
>>>
>>>That's what I thought should work, but it doesn't seem to work with 
>>>index_html files...
>>
>>It works if index_html is a DTMLDocument or DTMLMethod.
>>What is yours?
> 
> 
> How do I tell?
> 

This is a ZPT - Zope Page Template file.

> I suspect it isn't because the icon for it is different to the DTML 
> Documents I created manually. This file was created automatically when I 
> created a folder.
> 

When you create a folder do not check "Create public interface" in the form.

Michael



More information about the Zope mailing list