[Zope] including other objects from other folders
Jim Sanford
jsanford@atinucleus.com
Fri, 25 Feb 2000 09:51:28 -0600
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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>
iQA/AwUBOLaiWDlszdAdzf4MEQIXewCg64IUIWgqm1fgshedEKNLQQ3gXS0AoPqF
eY8rl8eAcsEBK1l2tM9AR706
=iwBA
-----END PGP SIGNATURE-----
_______________________________________________
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 )