[Zope] standard_html_header & index_html

Jonathan Hobbs toolkit at magma.ca
Thu Sep 16 14:52:17 EDT 2004


> 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?
>
> 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 click on 'index_html' in the folder list, what is displayed in the
shaded line just below the menu tabs? (it should be something like:  DTML
Method at /folder/index_html)

If it is not a DTML Method: try deleting it, then use the 'Add' drop-down
menu to create a new DTML Method with the name index_html.

HTH

Jonathan




More information about the Zope mailing list