Re: [Zope] Editing SQL methods from Emacs (+ FTP server)?
I added a patch for ftp-enabling SQL Methods to either the collector or the zopeshell patch manager on sourceforge (I forget which right now, and it's late and I'm going to bed right now...) If you can't find it, email me and I'll dig it up.
Stephane Bortzmeyer wrote
All the texts explaining the wonders of Zope tell that you can edit your DTML
files from (X)Emacs, and not from the lame editor you get from your browser with the default HTML form.
It works great for DTML but ange-ftp (GNU emacs 20.7) refuses to open the SQL
methods ("File exists but cannot be read"). Is there a solution, besides writing it offline and uploading it into Zope?
_______________________________________________ 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 )
-- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
On Thursday 30 November 2000, at 0 h 19, the keyboard of Anthony Baxter <anthony@interlink.com.au> wrote:
I added a patch for ftp-enabling SQL Methods to either the collector or the zopeshell patch manager on sourceforge (I forget which right now, and it's late and I'm going to bed right now...) If you can't find it, email me and I'll dig it up.
No change in zopeshell for three months and I cannot find the collector on SourceForge?
Stephane Bortzmeyer wrote:
On Thursday 30 November 2000, at 0 h 19, the keyboard of Anthony Baxter <anthony@interlink.com.au> wrote:
I added a patch for ftp-enabling SQL Methods to either the collector or the zopeshell patch manager on sourceforge (I forget which right now, and it's late and I'm going to bed right now...) If you can't find it, email me and I'll dig it up.
No change in zopeshell for three months and I cannot find the collector on SourceForge?
The collector is here: http://classic.zope.org:8080/Collector Hope that helps, ethan mindlace fremen Zopatista Community Liason
I'm trying to get a list of lists using ZSQL Methods... I have two related tables, hounds and items. I want to get the hound_id in items like this but can't work out how to pass the hound_id variable... <dtml-in get_hounds> <b><dtml-var name> <dtml-var id></b> <dtml-in "get_items(hound_id='id')"> <dtml-var title><br> </dtml-in> </dtml-in>
I'm trying to get a list of lists using ZSQL Methods...
I have two related tables, hounds and items.
I want to get the hound_id in items like this but can't work out how to pass the hound_id variable...
<dtml-in get_hounds>
<b><dtml-var name> <dtml-var id></b>
<dtml-in "get_items(hound_id='id')">
<dtml-in "get_items(hound_id = id)"> should work. Be careful... id is an unfortunate field name for your database.. there may be a namespace collision with the Zope notion of id. If this turns out to be a problem, post again and we can suggest some work-arounds.... -steve
<dtml-var title><br>
</dtml-in> </dtml-in>
_______________________________________________ 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 )
participants (5)
-
Anthony Baxter -
ethan mindlace fremen -
Stephane Bortzmeyer -
Steve Spicklemire -
tom smith