[Zope] sql in its own directory

Phil Harris phil.harris@zope.co.uk
Thu, 8 Feb 2001 13:42:41 -0000


Just do

<dtml-in "sql.ListInventory()">

hth

----- Original Message -----
From: "Ben Edwards" <bedwards2@gifford.co.uk>
To: "Ulrich Wisser" <u.wisser@publisher.de>; <zope@zope.org>
Sent: Thursday, February 08, 2001 2:02 PM
Subject: Re: [Zope] sql in its own directory


> This is OK except not sure about the period(.).
>
> Why don't you try having the method in the same folder, get it working and
then
> move it.
>
> >Hello,
> >
> >sorry I didn't find this in the FAQ but it really is one:
> >
> >I put my ZSQL methods in /sql folder. In my /admin folder
> >I want to use
> >
> ><dtml-in sql.ListInventory>
> >
> >But this is wrong. But what is wrong? How am I supposed to
> >call the ZSQL method?
> >
> >Thanks
> >
> >Ulrich
> >--
> >Searchengine Know How  - Webpromotion - Optimization - Internal Search
> >World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg
> >http://www.publisher.de   Tel: +46-8-53460905    Fax: +46-8-534 609 06
> >
> >
> >_______________________________________________
> >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 )
> >
> >
>
> --
> ben@videonetwork.org +(0)7970 269 522
> http://www.subvertise.org
> http://www.criticaldistribution.org
> http://www.videonetwork.org
>
> _______________________________________________
> 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 )