[Zope] rendering document in sub-folder

Michel Pelletier michel@digicool.com
Sat, 02 Oct 1999 01:13:23 -0400


Mike Mikkelsen wrote:
> 
> Thanks for the response.
> 
> I just tried that, but I get the same results.  I've tried a few
> different methods of "acquisition" that I've seen on the mailing list,
> but still not the right one.  The html from the method *or* document
> that I call still shows up as html, and is not rendered into a
> "webpage".

Terrel was correct:

<dtml-with folder>
  <dtml-var method>
</dtml-with>

I'm gusing you typed:

<dtml-with "folder">
  <dtml-with "method">
</dtml-with>

Which would cause what your getting.

-Michel

> 
> Thanx.
> 
> Terrel Shumway wrote:
> >
> > try: <dtml-with folder><dtml-var method></dtml-with>
> >
> > -----Original Message-----
> > From: Mike Mikkelsen [mailto:mikk@microbsys.com]
> > Sent: Friday, October 01, 1999 4:37 PM
> > To: zope@zope.org
> > Subject: [Zope] rendering document in sub-folder
> >
> > Hello all,
> >
> > I can't seem to figure out how to include a document (or method) in a
> > subfolder in the top level index_html.  When I use <dtml-var
> > "folder.method">  it just shows me the code *in* the method (or doc).
> > When the method (or doc) is in the same folder as the index_html, it
> > renders the included html properly.
> >
> > Obviously, I missed *something*.  8-)
> >
> > Any ideas?
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (Related lists - please, no cross posts or HTML encoding!
> 
> To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )