Newbie question - product embedding
Hello, I am just evaluating the Zope system, and it looks good. I am trying to build an example Intranet site, using Squishdot. I need a poll embedded in one of the Squishboxes. I tried both PMPPoll product and Poll product, but cannot get it to render into the page. I have a DTML method calling the poll object like this ... some simple HTML ... <br> <dtml-var name="my_sample_poll"> <br> .. some more simple HTML ... The simple HTML indeed appears in the box, but instead of the poll form, which I expect to be rendered, I get the following in the page source : <br> <Survey instance at 8635589> <br> Am I missing something obvious? Should I call the object from within my DTML method some other way? Thanks for your help. Michal Bukovjan
Michal Bukovjan writes:
... some simple HTML ... <br> <dtml-var name="my_sample_poll"> <br> .. some more simple HTML ...
This works for me: <dtml-with right_poll> <dtml-var index_html> </dtml-with> Of course you'll have to modify the poll's index_html document to remove all of the full page stuff because you only want a table cell for rightbox items. Dan Pierson, <dan@control.com>
participants (2)
-
Dan L. Pierson -
Michal Bukovjan