[Zope] including other objects from other folders

Kevin Meinert kevn@vrac.iastate.edu
Fri, 25 Feb 2000 09:58:21 -0600


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok, but what about if root/index_html includes Squishdot?

I tried this, and I get Squishdot folder properties on the screen
instead of the actual index_html.

Also, what about the case in which I'd want to include
Poll/somefolder/index_html?

(I did mean <!-- #var ... --> before, sorry typo!)

Thanks!
Kevin

- -----Original Message-----
From: Jim Sanford [mailto:jsanford@atinucleus.com]
Sent: Friday, February 25, 2000 9:51 AM
To: kevn@vrac.iastate.edu; zope@zope.org
Subject: Re: [Zope] including other objects from other folders


Try:

<!--#var Poll-->

or

<dtml-var Poll>

<#var ...> is not valid syntax

Zope should render the index_html document in Poll by default

- ----- Original Message ----- 
From: Kevin Meinert <kevn@vrac.iastate.edu>
To: <zope@zope.org>
Sent: Friday, February 25, 2000 9:40 AM
Subject: [Zope] including other objects from other folders



*** PGP Signature Status: good
*** Signer: Kevin August Meinert <KevinMeinert@bigfoot.com> 
*** Signed: 2/25/00 9:40:08 AM
*** Verified: 2/25/00 9:54:22 AM
*** BEGIN PGP VERIFIED MESSAGE ***

Maybe this is in a faq somewhere (if so please point me to it!)
but all the ones i've seen don't describe any way to do this:

I want to include dhtml using a <#var > statement.  That's easy...
but I want to include it from a different folder than the one i'm
currently in.  For example...

In index_html in my Squishdot folder, I want to "include" a "Poll"
module in the page.

Here's the hierarchy...
+ root
  - index_html
  + Squishdot
    - index_html
    + Poll
      - index_html

So in my root/Squishdot/index_html, I want a statement like <#var
Poll/index_html>  but this of course gives a server error...  it
apparently doesn't understand the / I gave it.

Is there some other #include statement that I should be using?  Or is
there some trick to using #var?  The documentation is so random, I
can't find such a basic description of how to do what I need!  (plus
Im really new to zope, so that may have something to do with it)


Please email me a reply at KevinMeinert@BigFoot.com

Thanks!!
Kevin


*** END PGP VERIFIED MESSAGE ***


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )



-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>

iQA/AwUBOLamnTlszdAdzf4MEQLKAACeJ+WsD8la6X3a/KN/D/EnkFJwXcgAoLBY
FEW9kceFTk0+8YKRJ4y9TqrC
=OHPs
-----END PGP SIGNATURE-----