[Zope] Put a Dtml page in a Plone's slot:main

Ausum Studio ausum_studio at hotmail.com
Wed May 5 10:09:38 EDT 2004


Insufficient information. What are your attempts? What are the error
messages?

Anyhow it looks like you want to call a DTML from a portal document's skin
(template). In CMF (Plone  doesn't have anything to see here) you load all
your templates in "portal_skins" portal tool, in order to make them
available portal-wide, therefore callable from anywhere your content object
was. This is the place where you would like to gather your Z SQL methods
too, whether they aren't folder-based managed.

Please bear in mind that there's a Zope-CMF list, and a Plone list too.

Ausum


----- Original Message ----- 
From: Shane McCombs
To: zope at zope.org
Sent: Tuesday, May 04, 2004 11:23 AM
Subject: [Zope] Put a Dtml page in a Plone's slot:main


Hi Paul
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






More information about the Zope mailing list