Re: [Zope] Restricting URL access to objects that are not complete web pages

2000-09-21 Thread Phil Harris
Chris, Stephen, Wouldn't an external method something like the following work for the moment? def getobj(self,url=None): if url==None: return None return self.restrictedTraverse(url) so in dtml you can do something like: or etc. maybe?!!? Phil [EMAIL PROTECTED] - Or

Re: [Zope] Simple dtml-unless problem

2000-09-13 Thread Phil Harris
Depending on the object in question id could be a method, so you might want to try: hth Phil - Original Message - From: "Tim Hicks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 13, 2000 12:23 PM Subject: [Zope] Simple dtml-unless problem > I have the follow

Re: [Zope] Return data from External Methods

2000-09-13 Thread Phil Harris
You need to set the content type being returned, something like: hth Phil [EMAIL PROTECTED] - Original Message - From: "Steinar Rune Eriksen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 13, 2000 11:15 AM Subject: [Zope] Return data from External Methods >

Re: [Zope] TEXT FILE Operation

2000-09-12 Thread Phil Harris
Marcello, I'd say the simplest way is to create an external method, something like (untested): def addToTextFile(self, thingToAdd = None): if thingToAdd: f=open('thefile','w') f.write(thingToAdd+'\n') f.close() or similar for changing/updating etc. If you are short

Re: [Zope] Object serialization between different pages

2000-09-12 Thread Phil Harris
You could always use one of the session management products on the Zope site. My particular favourite is SQLSession, but others exist which do a similar job. hth Phil [EMAIL PROTECTED] - Original Message - From: "Pierre-Julien Grizel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: T

Re: [Zope] Important Security Concerns

2000-09-12 Thread Phil Harris
Another option might be to proxy the Zope server through Apache on port 80. - Original Message - From: "Coleman, Bryan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 12, 2000 12:43 PM Subject: [Zope] Important Security Concerns > I almost have my company convince

Re: [Zope] XML and Zope newbie question...

2000-09-08 Thread Phil Harris
Eric, Take a look at the XMLDocument product, available from Zope.org. It already parses the xml into zope objects (they may not be exactly what you want though), but it may give you a start into what you want. hth Phil [EMAIL PROTECTED] - Original Message - From: "Eric L. Walstad" <[

Re: [Zope] NEWBIE HELP can not get Zope to start

2000-09-08 Thread Phil Harris
Douglas, You seem to be doing as expected, however a few points to note: see below: - Original Message - From: "Douglas Eadline" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 08, 2000 3:12 AM Subject: [Zope] NEWBIE HELP can not get Zope to start > > I have tried

Re: [Zope] Not like ASP complaint - any good answers

2000-08-25 Thread Phil Harris
I can't say I see too much difference between the way Zope and ASP accomplish things, Zope has External Methods and Products, ASP has COM objects which I'd say are a darn sight harder to grok. Fact is that if these developers say you can do everything in VB/Jscript in an ASP page then they are

Re: [Zope] building a Python module on Winnt

2000-08-24 Thread Phil Harris
Which one? It may already be built by one of us Zopista types. - Original Message - From: Vincent To: [Zope Org] (E-mail) Sent: Thursday, August 24, 2000 11:37 AM Subject: [Zope] building a Python module on Winnt Hi, How can I build a python module on Windows NT ? Thanks Vincent

Re: [Zope] Zope as an NT service in "developement mod"

2000-08-24 Thread Phil Harris
Vincent, You will need to change the rgistry entry for the service: Open regedit and goto hkey_local_machine/system/currentcontrolset/services//parameters. Then double click on the 'start' parameter in the right hand window, when the edit box comes up simply add a -D to the end of the options o

Re: [Zope] method

2000-08-23 Thread Phil Harris
I seem to remember a entry to the collector about this, I think your stuck with having a 'static' sort key. or you could do something like . . . . . If you see what I mean. Phil - Original Message - From: "Jean Jordaan" <[EMAIL PROTECTED]> T

Re: [Zope] method

2000-08-23 Thread Phil Harris
??? - Original Message - From: "Jean Jordaan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "RC Compaan (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, August 23, 2000 2:52 PM Subject: [Zope] method > Hi all > > The answer to my previous question makes this one occur to > me:

Re: [Zope] How to test if an object exist

2000-08-23 Thread Phil Harris
def testFolder(self): self=self.this() if hasattr(self,'id of object to check for'): sub1=self.folder1 exec "object2create = 'folder11'" try: if sub1.object2create: return 'Object exists' except AttributeError: sub1.manage_addFolder

Re: [Zope] Including a method returning batches inside a page.

2000-08-23 Thread Phil Harris
Is docsByTitle a DTML Document? If so then try making it a DTML Method. It seems to be taking the properties from itself rather than it's container, if yu see what I mean. hth Phil [EMAIL PROTECTED] - Original Message - From: "Jean Jordaan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [Zope] Hi guys, I'm looking for the Vignette's SDK documentation

2000-08-23 Thread Phil Harris
Try ringing vignette then, eh! - Original Message - From: Sylvain Legrand To: [EMAIL PROTECTED] Sent: Wednesday, August 23, 2000 12:44 PM Subject: [Zope] Hi guys, I'm looking for the Vignette's SDK documentation    

Re: [Zope] Looping through a folder's contents...

2000-08-21 Thread Phil Harris
Andrew, You *almost* seem to be enjoying this ;) - Original Message - From: "Andrew Kenneth Milton" <[EMAIL PROTECTED]> To: "Jason Cunliffe" <[EMAIL PROTECTED]> Cc: "Andrew Kenneth Milton" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, August 21, 2000 3:26 PM Subject: Re: [Zope]

Re: [Zope] My problem or tree tag bug?

2000-08-21 Thread Phil Harris
Chris, Go on rewrite that tree-tag, go on I dare you. Make it better, go on, I bet you can't. 8^) Phil [EMAIL PROTECTED] - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 21, 2000 9:47 AM Subject: [Zope] My problem or tree

Re: [Zope] Dots versus underscore in DTML

2000-08-19 Thread Phil Harris
George, in the root of tyour zope-space (tm), put a DTML Method called index_html which has these contents: or alternatively The second does mean an extra call to the server, but has other advantages. hth Phil [EMAIL PROTECTED] - Original Message - From: "George Osvald" <[EMAIL P

Re: [Zope]

2000-08-18 Thread Phil Harris
What a bloody good question: This has had me stumped all week! Why isn't _ available in the tree tag? Phil - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 18, 2000 1:32 PM Subject: [Zope] Okay, firstly, I notice dtml-tree doe

Re: [Zope] Import classes in External method

2000-08-16 Thread Phil Harris
you need to put them in zope_dir/lib/python/shared/your_dir Then in your external method: import your_dir.myclass hth Phil - Original Message - From: "Francois-Regis CHALAOUX" <[EMAIL PROTECTED]> To: "Receipt Notification Requested" <[EMAIL PROTECTED]> Sent: Wednesday, August 16, 2000

Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread Phil Harris
Acquisition - Original Message - From: "Peter Bengtsson" <[EMAIL PROTECTED]> To: "Phil Harris" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 16, 2000 10:03 AM Subject: Re: [Zope] DTML: fetch an object by its url? >

Re: [Zope] DTML: fetch an object by its url?

2000-08-16 Thread Phil Harris
- Original Message - From: "Scott Shepherd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 16, 2000 5:06 AM Subject: [Zope] DTML: fetch an object by its url? > In DTML is it possible to get an object using its url? Something like > > ... > > Similar to > >

Re: [Zope] Implementing a login form instead of BASIC authentication

2000-08-15 Thread Phil Harris
All, PHPlib (http://phplib.netuse.de) has a piece of javascript that creates MD5 hashes from the entries in a form: so you would never have to pass passwords in clear text, as long as the hash agrees with the one created server side, login is successful. the PHPlib docs describe it better than

Re: [Zope] manage_upload not found?

2000-08-14 Thread Phil Harris
Sean, I *think* you have to call manage_upload of the object itself. So if you have a DMTLMethod called doc then it would have to be: doc.manage_upload([file,REQUEST]) hth Phil [EMAIL PROTECTED] - Original Message - From: "Sean McGrath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: [Zope] A very newbie question

2000-08-13 Thread Phil Harris
oops, Should hae been: hth Phil [EMAIL PROTECTED] - Original Message - From: "Indra Gunawan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 2:38 AM Subject: [Zope] A very newbie question > I need to know the value of (sequence-index mod 3)=0 > in somethi

Re: [Zope] A very newbie question

2000-08-13 Thread Phil Harris
Indra, Try: hth Phil [EMAIL PROTECTED] - Original Message - From: "Indra Gunawan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 14, 2000 2:38 AM Subject: [Zope] A very newbie question > I need to know the value of (sequence-index mod 3)=0 > in something like >

Re: [Zope] Python + COM (from external method)

2000-08-11 Thread Phil Harris
Steinar, Did you call pythoncom.CoInitialize()? If not you need to. hth Phil [EMAIL PROTECTED] - Original Message - From: "Steinar Rune Eriksen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 11, 2000 12:49 PM Subject: [Zope] Python + COM (from external method) >

Re: [Zope] Redhat 6.2 problems

2000-08-10 Thread Phil Harris
Scott, By default Zope runs in debug mode, edit the script and remove the -D and it should run as a daemon. Phil - Original Message - From: Scott Burton <[EMAIL PROTECTED]> To: Zope List <[EMAIL PROTECTED]> Sent: Thursday, August 10, 2000 11:32 PM Subject: [Zope] Redhat 6.2 problems >

Re: [Zope] ZCatalog attachments?

2000-08-05 Thread Phil Harris
All, Doing the text pulling from COM is *SLOW* to say the least, You'd probabnly be better converting them to RTF and then using something like OmniMark to convert to XML. That way you'd have the best of both worlds, including something you can render to HTML when zDOM/zXSLT becomes a reality.

Re: [Zope] different pages depending of the role....

2000-08-03 Thread Phil Harris
Vincent, It's perfectly possible: this is the management page this is the normal members page This is the joe public page hth Phil [EMAIL PROTECTED] - Original Message - From: "Vincent" <[EMAIL PROTECTED]> To: "[Zope Org] (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, August 03, 20

Re: [Zope] zope.org down?

2000-08-02 Thread Phil Harris
No, it's not just you. - Original Message - From: "Ewald Wasscher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 02, 2000 12:26 PM Subject: [Zope] zope.org down? > Hi all, > > Is it just me having problems or is www.zope.org down or being DOS-ed > etc? > > Ewald

Re: [Zope] ZSearch generated default report file fails on result set cardinality greater 50 for content which contains www addresses

2000-08-02 Thread Phil Harris
i-ko-ld.de/blah/blah. Phil Harris [EMAIL PROTECTED] - Original Message - From: "Andreas Rippel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 02, 2000 9:42 AM Subject: [Zope] ZSearch generated default report file fails on result set cardinal

[Zope] Re: [Zope-dev] [Zope] App isolation

2000-08-01 Thread Phil Harris
tell you nothing unless you are using an xmlrpcclient to do the looking.hthPhil Harris[EMAIL PROTECTED][EMAIL PROTECTED]- Original Message -From: Steve Alexander <[EMAIL PROTECTED]>To: Phil Harris <[EMAIL PROTECTED]>Sent: Tuesday, August 01, 2000 9:45 PMSubject: Re: [Zop

Re: [Zope] Does 'favicon.ico' sound familiar to anyone?

2000-07-31 Thread Phil Harris
favicon.ico is the name of the icon file that MS IE uses to customize favorite listings. Your site must be being added to a few peoples favorites lists. You have two basic options: 1. live with it 2. use it, stick a file called favicon.ico in the root of your site. Do a search on the MS site f

Re: [Zope] anyone skilled in the ways of changing page properties?

2000-07-28 Thread Phil Harris
tav, try manage_changeProperties(page_owner=AUTHENTICATED_USER.getUserName()) - Original Message - From: "tav" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 28, 2000 12:14 PM Subject: Re: [Zope] anyone skilled in the ways of changing page properties? > Chris Withers w

Re: [Zope] Newbie question on page counters

2000-07-27 Thread Phil Harris
Richard, I'd recommend getting the Zope Quick Reference (ZQR) from http://zdp.zope.org (the zope documentation project). I'ts invaluable. Phil [EMAIL PROTECTED] - Original Message - From: Richard P. Muller <[EMAIL PROTECTED]> To: Chris Withers <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> S

Re: [Zope] Silly send mail problem

2000-07-27 Thread Phil Harris
When using the dtml-sendmail tag you need to structure it like this: To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Subject: Testing from my machine mail body hth Phil [EMAIL PROTECTED] - Original Message - From: "Brad Moulton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAI

Re: [Zope] Compiling C souce code

2000-07-26 Thread Phil Harris
Use a C compiler - Original Message - From: * Lucky <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 2:11 AM Subject: [Zope] Compiling C souce code How can I compile the C source code of SeachIndex.Splitters in order to generate the Splitters.pyd file ?

Re: [Zope] How can I proxy from apache to zope and keep source host info?

2000-07-26 Thread Phil Harris
There is a patch to Apache that you could apply that passes the client IP along in a different HTTP header, if that helps. It's at http://modules.apache.org/search?id=124. On the other hand you could use Squid as the Proxy as it has a config directive for just this occasion. HTH Phil [EMAIL PR

Re: [Zope] A Better Way (Stupid DTML code)

2000-07-21 Thread Phil Harris
Search for Member Information - Original Message - From: Dennis Baker <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 22, 2000 12:08 AM Subject: [Zope] A Better Way (Stupid DTML code) > Ok, there has to be a better way of doing this, I

Re: [Zope] Zope and Mac

2000-07-21 Thread Phil Harris
Peter, If you mean that IE renames the file to xxx.ar instaed of xxx.tar.gz then all you have to do is rename it after you have downloaded and all will be well. hth Phil - Original Message - From: "Peter Bengtsson" <[EMAIL PROTECTED]> To: "Tom Scheidt" <[EMAIL PROTECTED]> Cc: <[EMAIL P

Re: [Zope] Stability fun on NT

2000-07-20 Thread Phil Harris
Andy, You don't give us much to go on, but I'll just say that I've been using Zope on NT for about 18 months and have seen no real instability problems at all. The worst that happens is when I reboot the machine :) Fill in some more detail, NT Service Pack level, Zope ver, NT build number whate

Re: [Zope] ANNOUNCE: Going Virtual Interbase Adapter v0.1

2000-07-11 Thread Phil Harris
Col! - Original Message - From: Jeff K. Hoffman <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, July 11, 2000 10:12 PM Subject: [Zope] ANNOUNCE: Going Virtual Interbase Adapter v0.1 > Going Virtual, LLC is proud to announce the first > release of i

Re: [Zope] SV: [Zope] "http://www.zope.org": HORRIBLE HTML

2000-07-08 Thread Phil Harris
Zope doesn't actually 'produce' HTML in most cases. The HTML in question was almost certainly written by hand or by a third party product (DreamWeaver etc). - Original Message - From: "peter be" <[EMAIL PROTECTED]> To: "Svante.Kleist" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 09

Re: [Zope] MySQLDA Won't build

2000-07-08 Thread Phil Harris
What version of MySQL is it?   - Original Message - From: Darin Lee To: [EMAIL PROTECTED] Sent: 08 July 2000 22:35 Subject: [Zope] MySQLDA Won't build Help,   I cannot get the MySQL Database Adaptor to build.   Error: gcc -shared  _mysqlmodule.o 

Re: [Zope] redirecting from inside a frame

2000-06-08 Thread Phil Harris
Chad, Before I attempt an answer to your question, can I ask you a favour? Please don't send HTML encoded mail to the list, lesser mortals use crappy mailers and have trouble reading it 8¬) Thanks in advance. If I understand you correctly you want the form to goto a full browser rather than re

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Phil Harris
est" document to be "". And it doesn't > >work, giving me an error message of: > > > > try > > > > > It can get complex quickly though - I'm sure I remember something on > thew Zope list about this, I think it was a word of wisdom from Phil

Re: [Zope] stupid question I guess

2000-06-07 Thread Phil Harris
Is it global to the page, or local to the page ?!?!? - Original Message - From: "Andrew Kenneth Milton" <[EMAIL PROTECTED]> To: "Chris Withers" <[EMAIL PROTECTED]> Cc: "josh on" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 07, 2000 3:05 PM Subject: Re: [Zope] stupid que

Re: [Zope] sort_order???

2000-06-06 Thread Phil Harris
Try: hth phil [EMAIL PROTECTED] - Original Message - From: "michael angelo ruberto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: 06 June 2000 23:18 Subject: [Zope] sort_order??? > hello, > > ok, here is my code: > > > > | | URL> | | > > > what's

Re: [Zope] Help: Weird KeyError with 2.2.0a1

2000-06-06 Thread Phil Harris
Pete, This doesn't really fix the underlying problem, but if you'd like to carry on working with Zope you can rename the file /var/Data.fs and Zope will recreate a new (good) Data.fs for you. hth phil [EMAIL PROTECTED] - Original Message - From: "Pete Kazmier" <[EMAIL PROTECTED]> To: <

Re: [Zope] Can't edit saved file

2000-06-05 Thread Phil Harris
Try turning off caching on your browser - Original Message - From: "Jilani Khaldi" <[EMAIL PROTECTED]> To: "Zope ML" <[EMAIL PROTECTED]> Sent: 06 June 2000 00:00 Subject: [Zope] Can't edit saved file > Hi, > I can't edit modified and saved files and everytime I open the folder > and p

Re: [Zope] Zope/Apache/NT

2000-06-05 Thread Phil Harris
Paul, What do you need to know? I've got about 5-6 Zope instances running here for different purposes, on a few different machines, so ask away. Phil [EMAIL PROTECTED] Learning Technology University of Wales College of Medicine - Original Message - From: "Paul Smith" <[EMAIL PROTECTE

[Zope] NEWS: Zope passes xml-rpc validation tests!

2000-06-02 Thread Phil Harris
Hi all, Following a post by Dave Winer on ZopeNewbies: http://weblogs.userland.com/zopeNewbies/discuss/msgReader$617 I took up the challenge and am glad to report that Zope validates 100% against the test webapp. See ya Phil [EMAIL PROTECTED] ___

[Zope] Using FTP to connect to Zope server from (g)VIM

2000-06-02 Thread Phil Harris
Hi all, My intellect was piqued recently by a discussion on the list about editors for Zope etc. I remember some people saynig that VIM was good, to which my response was, 'Yeah but there's no FTP built in'. Someone then responded with a few scripts to do it. Well I thought they were a bit cum

Re: [Zope] Virtual host admin under Apache+ZServer+SiteAccess

2000-06-02 Thread Phil Harris
Jose, Try going to http://localhost:8080/__no_before_traverse__/manage hth Phil [EMAIL PROTECTED] - Original Message - From: "J M Cerqueira Esteves" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Jose Manuel Sebrosa" <[EMAIL PROTECTED]> Sent: Friday, June 02, 2000 4:45 AM Subject: [

Re: [Zope] Zope on Windows NT

2000-06-01 Thread Phil Harris
Luis, see: http://zope.nipltd.com/public/lists/zope-archive.nsf/47ba74c812dbc5dd8025687 f0024bb5f/341813706896c719802568e1007a5a9c?OpenDocument&Highlight=0,currentc ontrolset Which will probably mangle in the mailer, so if it don't work: goto http://zope.nipltd.com/public/lists/zope-archive.ns

Re: [Zope] ANN: Perl For Zope

2000-05-31 Thread Phil Harris
Seconded, Surely for most purposes the language used to implement is irrelevant. Code in whatever you want, stick PHP/Smalltalk/whatever language into Zope if it means more people can use it, and save me having to write my own stuff ;) The important thing is the framework! Phil [EMAIL PROTECT

Re: [Zope] Before I install zope

2000-05-30 Thread Phil Harris
I'd say the easiest way is to give them different ports: give zope1 port 8080 and zope2 port 9080 If you've installed the Zopes as NT services you need to change the parameters to the services in regedit: goto hkey_local_machine/currentcontrolset/services/zope2 and change/add a parameter to cha

Re: [Zope] Question about sorting

2000-05-30 Thread Phil Harris
- Original Message - From: "Patrick J.M. Keane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 30 May 2000 07:25 Subject: [Zope] Question about sorting > > Does sort only sort in one direction? I am looking to sort news items > so that the newest items are on top, and when sor

Re: [Zope] dtml-tree and REQUEST.form

2000-05-30 Thread Phil Harris
I'd be interested when it's done. Phil [EMAIL PROTECTED] - Original Message - From: "Pierre-Julien Grizel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 30 May 2000 16:42 Subject: [Zope] dtml-tree and REQUEST.form > > Hi, > > > I'm currently implementing a tree using... dtml-tree.

[Zope] GenericUserFolder Bug

2000-05-29 Thread Phil Harris
Hi I've found a bug in GenericUserFolder. Basically if you try and do any restriction by domain then it will fail every time. The problem is that on line 151 of GenericUserFolder.py, it tries to use addr_match and host_match, which I assume was meant o be the same as the one in the standard Use

Re: [Zope] ANN: Perl For Zope

2000-05-27 Thread Phil Harris
Seconded, REBOL is cool! - Original Message - From: "Graham Chiu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 26 May 2000 23:37 Subject: Re: [Zope] ANN: Perl For Zope > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > In article <[EMAIL PROTECTED]>, Jim Fulton > <[EMAIL PROTE

Re: [Zope] HTML EDITORS

2000-05-26 Thread Phil Harris
Yeah, I made one in Python a while back, but it's not quite the same as having it built into the editor itself. Something like the Emacs Ange-FTP in GVIM and I'd be a total convert. - Original Message - From: "John A Chaves" <[EMAIL PROTECTED]> To: "Phil

Re: [Zope] HTML EDITORS

2000-05-26 Thread Phil Harris
I'd like to third that but Can't because GVIM doesn't have a FTP client. If your using Win32 take a look at HTMLKit (www.chami.com). It's a free HomeSite thingy, it's brilliant. - Original Message - From: "Wright, Geoff" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 26 May 2000 20:

Re: [Zope] How to know the number of parents of an element ???

2000-05-24 Thread Phil Harris
Try something like: - Original Message - From: "Frédéric QUIN" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 24, 2000 5:37 PM Subject: [Zope] How to know the number of parents of an element ??? > Hi all, > > > Is there any function or method to get the number of

Re: [Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread Phil Harris
_ is the default namespace which you can treat sort of like a dictionary, so this means you can index into it with the name 'things'. so _['id'] means give me the id of the current namespace. well sort of. - Original Message - From: "Timothy Wilson" <[EMAIL PROTECTED]> To: "Rik Hoekstr

Re: [Zope] Feeling like a newbie.. document id if statement?

2000-05-24 Thread Phil Harris
J, You may not be as dumb as you think. If I recall correctly, id is one of those strange fish which is sometimes string and sometimes method. So if in your case it is a method then id=='anything' will always be false. Try id()=='index_html'. hth Phil [EMAIL PROTECTED] - Original Messag

Re: [Zope] newbie question: case sensitive folder problem

2000-05-24 Thread Phil Harris
create an other object (DTML Method) called bigfolder with these contents (untested): - Original Message - From: "Alexander N Gould" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 24, 2000 12:43 PM Subject: [Zope] newbie question: case sensitive folder problem > Ho

Re: [Zope] ZMysqlDA

2000-05-22 Thread Phil Harris
Brenton, What version of MySQL are you using? Later versions have changed slightly and you need to edit MySQLmodule.c to compensate. I think if you remove the '&' in the lines mentioned in the error message it should work ok, well it did for me. hth Phil [EMAIL PROTECTED] - Original Mess

Re: [Zope] ZSQL-Methods: last inserted id

2000-05-17 Thread Phil Harris
LAST_INSERT_ID is the MySQL way to find out the last inserted id, how exactly didn't it solve your problem? phil - Original Message - From: "Andy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: 18 May 2000 00:44 Subject: [Zope] ZSQL-Methods: last inserted id > > I wonder how I can fi

<    1   2