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

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] 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] 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] 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] 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] 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] 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] 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

[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] 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.

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] 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] 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] 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] 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: [

[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

[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] ___

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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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]

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Close your eyes . . .

2000-09-21 Thread Phil Harris
Cool! - Original Message - From: "Spicklemire, Jerry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 21, 2000 11:47 PM Subject: [Zope] Close your eyes . . . > and pretend that Zope can do this today! > > http://standardbrains.editthispage.com/ > > This is w

[Zope] Help - Weird stuff.

2000-09-25 Thread Phil Harris
Hi all, Sorry for the subject but I don't really know how to describe this. I have a folder 'hp' which has loads of stuff in it, if I try to copy and paste into it though I get this error: 'The object index_html does not support this operation ' with this traceback: Traceback (innermost last)

Re: [Zope] cannot run without -D on win2000 ?

2000-09-25 Thread Phil Harris
Gijs, I'm running Zope 2.2.2 on Windows 2000 Advanced Server at home wih -D with no problems. Here's the registry entry for it: "D:\zope221\bin\python.exe" "D:\zope221\z2.py" -S hth Phil [EMAIL PROTECTED] - Original Message - From: "Gijs Reulen" <[EMAIL PROTECTED]> To: "Mailinglist Z

Re: [Zope] Favorites

2000-09-26 Thread Phil Harris
rishi, What does the ASP script look like? Send me a copy privately if you want, I'll scan through and see if I can make any suggestions. Phil (ex. ASP thingy 8¬)) [EMAIL PROTECTED] - Original Message - From: "rishi" <[EMAIL PROTECTED]> To: "'Tino Wildenhain'" <[EMAIL PROTECTED]> Cc: <

Re: [Zope] String manipulation

2000-09-26 Thread Phil Harris
Jens, You have a few options: 1.Cut the string, hth Phil (ex. twinky-salesman) [EMAIL PROTECTED] - Original Message - From: jensebaer To: [EMAIL PROTECTED] Sent: Tuesday, September 26, 2000 8:28 PM Subject: [Zope] String manipulation Hi all, how can I manage it to cut a string

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Phil Harris
How about, create an dtml-method called iterate: with this contents: The you can call this like so, from any other DTML_XXX: or Or .. hth Phil [EMAIL PROTECTED]

Re: [Zope] Displaying all subobjects

2000-09-27 Thread Phil Harris
Actually, This would probably work a bit better (since the last one doesn't work at all 9¬) ) - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 27, 2000 11:20 AM Subject: [Zope] Displaying all subobjects > The second dum

Re: [Zope] Adding user to folder

2000-09-28 Thread Phil Harris
Scott, Try something like (UNTESTED): hth Phil [EMAIL PROTECTED] - Original Message - From: "Scott Burton" <[EMAIL PROTECTED]> To: "Zope List" <[EMAIL PROTECTED]> Sent: Thursday, September 28, 2000 7:12 AM Subject: [Zope] Adding user to folder > I would like to add a user to a fo

[Zope] dtml-with equivalent in external methods?

2000-09-29 Thread Phil Harris
Hi all, I know I've seen the answer to this somewhere, but I'm buggered if I can find it. Anyone know offhand how to do an equivalent to dtml-with in an external method? tia Phil [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lis

Re: [Zope] Deleting data using ZSQL

2000-09-29 Thread Phil Harris
Steve, Your user for the dataase does have permission to delete does it? Phil - Original Message - From: "Steve Drees" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, September 29, 2000 3:00 PM Subject: RE: [Zope] Deleting data using ZSQL > > > > -Ori

Re: [Zope] python methods

2000-09-29 Thread Phil Harris
Python methods are not yet part of the standard distribution, you can however get the product install tarball from Zope.org - Original Message - From: "Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http: //www.alomega.com/" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [Zope] dtml-with equivalent in external methods?

2000-09-29 Thread Phil Harris
Dieter, Thanks for replying but I was being a bit confused, by science so to speak. It was a lot simpler than I thought. Thanks anyway. Phil - Original Message - From: "Dieter Maurer" <[EMAIL PROTECTED]> To: "Phil Harris" <[EMAIL PROTECTED]> Cc: &q

Re: [Zope] Help - Weird stuff.

2000-09-30 Thread Phil Harris
and one server(2.2.1->2.2.2). The problem has now gone away, so for the moment I'm happy to let it be. Thanks again Phil - Original Message - From: "Steve Alexander" <[EMAIL PROTECTED]> To: "Phil Harris" <[EMAIL PROTECTED]> Cc: "Zope@Zope. Org&

Re: [Zope] AUTHENTICATED_USER (or something) making me crazy

2000-10-07 Thread Phil Harris
Dennis, try: Guest Zope is 'celver' enough to realise that you must mean the username when you do: but 'stupid' enough not to realise when you do: Basic rule of thumb is that anythin in quotes is Python, and since AU is an object, it must be treated as such. btw, if you haven

Re: [Zope] DTML Method not working

2000-10-08 Thread Phil Harris
Is the code you used in a DTML Method or a DTML Document? Is it in a DTML Method being called from a DTML Document? If the answer to either of these is 'yes' then it's doing as you ask! The thing that gets most new zope users is that a DTML Document is itself a container. This means that anyti

Re: [Zope] DTML Method not working

2000-10-08 Thread Phil Harris
Oops: That should be: hth Phil [EMAIL PROTECTED] - Original Message - From: "Phil Harris" <[EMAIL PROTECTED]> To: "Ronald L. Chichester" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, October 07, 2000 9:38 PM Subject: Re: [Zo

Re: [Zope] Bizarre ZMySQLDA problem...

2000-10-10 Thread Phil Harris
Tone, What version of the MySQL DA are you using, there is a bug in one of them that causes no data to be returned in specific circumstances, at least as far as I can see. I did at one time fix it, give me a few hours to see what I did and I'll mail you back. hth Phil - Original Message --

Re: [Zope] Help with a DTML expression/comparison

2000-10-10 Thread Phil Harris
Manuel, You'll probably find that your comparing a string 'begin_day' to an integer 'sequence-item'. Try something like: hth Phil - Original Message - From: "Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http: //www.alomega.com/" <[EMAIL PROTECTED]> T

Re: [Zope] If/And statements?

2000-10-11 Thread Phil Harris
- Original Message - From: "J. Atwood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 11, 2000 10:15 PM Subject: [Zope] If/And statements? > Ok.. a very simple question. > > How do you do a if statement with an 'and'. If this, and that.. > > Was just asked of

[Zope-dev] Re: [Zope] Thanks for the comments

2000-10-12 Thread Phil Harris
I'll stick onto my Zope members page http://zope.org/Members/philh Phil - Original Message - From: "knight" <[EMAIL PROTECTED]> To: "Phil Harris" <[EMAIL PROTECTED]> Cc: "knight" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>

Re: [Zope] Thanks for the comments

2000-10-13 Thread Phil Harris
t;[EMAIL PROTECTED]> To: "Phil Harris" <[EMAIL PROTECTED]> Sent: Friday, October 13, 2000 8:25 AM Subject: Re: [Zope] Thanks for the comments > > > Phil Harris wrote: > > > > I'll stick onto my Zope members page > > > > http://zope.org/Member

Re: [Zope] UserDb - Please just WORK

2000-10-18 Thread Phil Harris
ed, If I'm right it should be a fairly simple job to fix it. I use Interbase to hold my user database and out of the box I get almost exactly the same problems you do. The problem is that 'password' is a reserved word. The interbase solution is to rewrite the UserDB sql queries to be something

Re: [Zope] Multiple queries in a ZSQL method?

2000-10-22 Thread Phil Harris
Noah, Try something like: insert into author (id, name, sort_name, email, bio, initials) values (null, , , , , ) select LAST_INSERT_ID() hth Phil [EMAIL PROTECTED] - Original Message - From: "Noah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunda

Re: [Zope] Creating Object

2000-10-22 Thread Phil Harris
Sal, You need to create a normal user with a role of 'Manager'. This will allow you to create things to your hearts wotsit. In the Zope management screen, click on acl_users and follow the instructions. Just one thing, make sure you select Manager from the list of roles, the list is just the p

Re: [Zope] a problem with 'start' command

2000-10-23 Thread Phil Harris
Gaby, If you are in the Zope directory, since most uni(x)es don't have the current directory in the path, you need to start zope with './start'. hth Phil - Original Message - From: "Gabriela Arevalo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 23, 2000 2:57 PM Sub

Re: [Zope] a problem with 'start' command

2000-10-23 Thread Phil Harris
Gaby, I'd say you need to get your disk quota extended. If your not the sysadmin then you need to speak to the relevant person about it. hth Phil [EMAIL PROTECTED] - Original Message - From: "Gabriela Arevalo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: M

Re: [Zope] Apache in front of ZServer

2000-10-24 Thread Phil Harris
Jorn, It's perfectly possible, you just need to do a little work ;) Your proxy pass will be something like this: ProxyPass / http://myserver.com:8080/ ProxyPassReverse http://myserver.com:8080/ / for the other part of serving static content, it really depends what you want but here are two way

Re: [Zope] Apache in front of ZServer

2000-10-24 Thread Phil Harris
Jorn, I'm no Apache GrandMaster but couldn't you use the [p] option of a RewriteRule to make it proxy if the url matches a pattern: RewriteEngine on RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l] Or something along those lines. hth Phil [EMAIL PROTECTED] - Original Message -

Re: [Zope] redirect

2000-10-24 Thread Phil Harris
http://zope.org/index.htm?cod=' + test)"> - Original Message - From: "Joaldo Junior" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 24, 2000 3:38 PM Subject: [Zope] redirect > how to for that function REDIRECT understand a variable. > > ex. > > http://zope.org/ind

  1   2   >