[Zope-DB] RE: [Zope] (no subject)
Laura McCord
Laura.McCord at doucet-austin.com
Tue May 4 14:54:50 EDT 2004
Just figured out how to get dtml methods to look like plone.
In a page template you can call your dtml method like this:
<div tal:content="structure here/your_dtml_method_here"></div>
and as long as you have this at the top of your page template you will
get what you need:
<html metal:use-macro="here/main_template/macros/master"
i18n:domain="upp">
<div metal:fill-slot="main">
.
.
.
</div>
</html>
Let me know if you get it working,
Laura
-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On
Behalf Of Shane McCombs
Sent: Tuesday, May 04, 2004 11:53 AM
To: zope at zope.org
Subject: [Zope] (no subject)
Hi All
My name is Shane. I am Completely New to Zope and Plone (Sorry).
I have my Plone Site Up and minor Customization complete, at
this point I am wanting to Create a Plone Document that
Returns the result of a SQL Query. I Simply can't figure out how
to make this work, I feel like I must be missing the Obvious.
I have a working Z SQL Method that returns as simple Query.
>From the ZMI the Test tab looks exactly as I would Expect, but how to
translate into PLONE?
I have 2 full days invested of trying to figure this out. I have
found many How-to s but just cant get them to work for me.
The Z Sql Method is located at /Plone/testodbc/testsqlmethod
The Page Template is at /Plone/testodbc/allpcs
I have been programming in various lang/scripts for 8 years...
it is frustrating being a Newbie again... Any Help / Direction or Ideas
would be wonderful.
Thank you in advance - Shane
Shane McCombs
Innovation Developer
Raymond Building Supply Corp.
239.478.6284
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-db/attachments/20040504/55e7b74b/attachment.html
More information about the Zope-DB
mailing list