More searching and testing resulted in this ( for further reference for other newbies ) : Stuffed my SQL-methods in a folder called SQL and can call it from the subfolder above it like so : <dtml-in expr="SQL.sqlViewMovieReviews()"> It was more Pythonic and to my liking than I'd ever dream of. Thomas ----- Original Message ----- From: "Thomas Weholt" <t-weh@online.no> To: <zope@zope.org> Sent: Friday, July 12, 2002 12:44 AM Subject: [Zope] <newbie>What am i missing? Calling zsqlmethods from different folder</newbie>
I've got a sql-method in one folder called /MovieReviews and want to call it in my /index_html-document. Tried <dtml-in "MovieReviews.sqlMethod"> and hundereds of variants, but with little luck. Looked in the docs at www.zope.org but cannot find anything similar. Isn't this a very common thing? I like to put all my sql-related stuff in one folder and the html things in another etc. Isn't the stuff I create in subfolders available in the root?
Thanks for you patience.
Best regards, Thomas
_______________________________________________ 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 )