RE: [Zope] PHP and Zope

2000-11-03 Thread Max Møller Rasmussen
If you want to you could just use Apache as a front end server serving php pages, and as a proxy to Zope. That way you can have the best of both worlds. But I would recommend using Zope, as you will have far greater possibilities for re-use of your code. Regards Max M -Original

RE: [Zope] Help wanted on Zope ZClasses/DTML please.

2000-11-03 Thread Seb Bacon
Hi, just some quick pointers (I'm in a hurry...) refer to http://zdp.zope.org/projects/zqr/ZopeQR for more details !-- do the deletion - this is the bit that doesn't work -- dtml-call "manage_delObjects('the_id')" What is the correct way to use manage_delObjects? dtml-call

[Zope] zope book AppendixA error

2000-11-03 Thread Didier Georgieff
Hello, I guess DC people is already aware, but i get an error since yesterday while pointing to ZB/AppendixA.html Document Template Parse Error invalid parameter: "="Expression"]...", for tag dtml-let [Name=Variable][Name="Expression"]..., on line 421 of AppendixA.html Didier.

[Zope] Can somebody please help me....

2000-11-03 Thread Thomas Søndergaard
I am currently working on a newsletter function, and I am a newbie at this EXELLENT ZOPE-Server. Therefore can somebody please help me doing this: ** dtml-var standard_html_header dtml-in expr="_.string.split(emails.raw,'\n')" dtml-call "REQUEST.set('first_name', 'none')" dtml-call

Re: [Zope] CMS/publishing system

2000-11-03 Thread Toby Dickenson
On Thu, 2 Nov 2000 08:45:12 -0600 , Pete Prodoehl [EMAIL PROTECTED] wrote: How well does Zope integrate applications/cgi's written in ASP, Cold Fusion, Perl, etc...? As we've got a number of things we'd prefer to keep as is, and run alongside Zope. How much integration do you need? You say

RE: [Zope] Can somebody please help me....

2000-11-03 Thread Seb Bacon
dtml-call "REQUEST.set('email', dtml-var sequence-item)" dtml-call "REQUEST.set('email', _['sequence-item'])" seb. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

[Zope] sending query output as an attachment

2000-11-03 Thread jacintha menezes
Hi, I am developing a product in which a output report (tabular form with data) is produced in result of a query. I have to send that report to different people through the mail facility available in zope as an attachment. So kindly guide me how can i send the output report as an

[Zope] Re: [Zope-dev] pluggable brains - namespace blues

2000-11-03 Thread Philipp Auersperg
the best answers are those answered by yourself: For all who want to know it: you have to explicitely give self as an extra parameter: concerning the example below: just call: rs[0].getName(rs[0]) and it works for me. Weird, but now I can enjoy my beer phil*** REPLY

Re: [Zope] Can somebody please help me....

2000-11-03 Thread chip johansen
Try dtml-call "REQUEST.set('email', _['sequence-item'])" You must use the _ namespace variable. From: "Thomas Søndergaard" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Zope] Can somebody please help me Date: Fri, 03 Nov 2000 11:42:43 CET I am currently working on a newsletter

[Zope] Authorization Question

2000-11-03 Thread Terry Babbey
I have been unable to figure out how to let only certain people access a method. I have a method setup for people to modify our online phonebook but I want to restrict access to this method for obvious reasons. Any ideas how to accomplish this? I am also wondering if anyone has been able to tie

Re: [Zope] Check for JavaScript: (OT)

2000-11-03 Thread Stefan H. Holek
On Fri, 03 Nov 2000, Oleg Broytmann wrote: htmlhead script languagae=javascript window.location = "/site/with/js/" /script meta http-equiv=refresh content="5; url=/site/nojs/" /headbody pLoading, please wait.../p /body/html assigning to location.href breaks the history

[Zope] CMS/publishing system

2000-11-03 Thread Spicklemire, Jerry
Pete asked: How well does Zope integrate applications/cgi's written in ASP, Cold Fusion, Perl, etc...? As we've got a number of things we'd prefer to keep as is, and run alongside Zope. and added: Is it possible? I'm thinking that with Apache and mod_rewrite it would be doable (using

[Zope] redirect on Authorization

2000-11-03 Thread Spicklemire, Jerry
Daniel says: We have a very large site and many of Users bookmark pages. This can cause several problems especially if the site layout changes, security changes at different levels and a user bookmarks a result pages that depends on previous page(s) submissions. Yes, it's easy to

[Zope] Re: sending query output as an attachment

2000-11-03 Thread Daniel Rusch
This is what we do dtml-sendmail mailhost="MailHost" To:dtml-var to From:dtml-var from Subject: dtml-var subject dtml-mime type=text/plain encode=7bit !--#var comments-- dtml-boundary type="application/pdf; name=jsp-syntax.pdf" disposition="attachment; filename=EquipmentOrder.pdf"

Re: [Zope] Check for JavaScript: (OT)

2000-11-03 Thread Oleg Broytmann
On Fri, 3 Nov 2000, Stefan H. Holek wrote: be aware also that having a redirecting start page will cause problems for some (most?) spiders and your site will never show up in the search engines. In any case javascriptfull pages are spiders-unfriendly, so it is not a problem at all :)))

Re: [Zope] Help wanted on Zope ZClasses/DTML please.

2000-11-03 Thread chip johansen
Instead of ... dtml-call "manage_delObjects('REQUEST['id_to_delete']')" try dtml-call "manage_delObjects('REQUEST.id_to_delete')" Chip Johansen From: "Bowyer, Alex" [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: [Zope] Help wanted on Zope ZClasses/DTML please. Date:

Re: [Zope] Securing an FTP server.

2000-11-03 Thread Andy McKay
Ive done a similar thing using SiteAccess rules. Its not that hokey, its a simple rewrite rule. Or how about using the folders that each user is the Owner of. Each user can then only access the FTP folder they are the Owner of. That works for http access, is dont see why ftp should be any

Re: [Zope] Refrencing.

2000-11-03 Thread Andy McKay
dtml-var x gives you the object if sequence-item was actually an object. Is there something else you are tyring to do like get the url to the object for an image tag? in that case try dtml-var "x.absolute_url()", untested but since let also pops onto the namespace dtml-var absolute_url should

Re: [Zope] Help wanted on Zope ZClasses/DTML please.

2000-11-03 Thread Andy McKay
or try: dtml-call "manage_delObjects(REQUEST['id_to_delete'])" - Original Message - From: "chip johansen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, November 03, 2000 9:01 AM Subject: Re: [Zope] Help wanted on Zope ZClasses/DTML please. Instead of ...

[Zope] Question about dtml-in

2000-11-03 Thread Sean McGrath
Hello all, I have a question about the dtml-in tag. When it is iterating over a sequence, and the items in the sequence happen to be tuples containing exactly two items, then dtml-in places the first item from the sequence in sequence-key, and the second item goes in sequence-item. If the

Re: [Zope] Zope and Sybase Stored Procedures

2000-11-03 Thread MANUEL JOSE AMADOR BRIZ
Everything works from a SQL method except \"exec sp_xx\" calls. It is driving me insane. ZSybaseDA spits errors about some operation in progress . Quoting [EMAIL PROTECTED]: Hi, I am working with zope and I want to securize my access to the data stored in a Sybase Server. So I am

Re: [Zope] New kinds of problems

2000-11-03 Thread MANUEL JOSE AMADOR BRIZ
Which still sucks because most of the software will default to gcc, and compiled RPMs and binaries in other distributions fail sometimes too. but thanks for the tip. I tend to be something of a \"distracted professor\" (is that the way to put it?) sometimes. Quoting Bill Anderson [EMAIL

[Zope] Obtaining just the filename for multiple file fields in an addformform

2000-11-03 Thread Darin Lee
Zopistas, I have a form that has multiple file upload fields in it (5 to be exact). I am handling the upload via DTML. Essentially this is a "publication" item that can have multiple formats of a file attached (PDF, Powerpoint, Word, Excel, HTML). I would like the user to create the

[Zope] Caveat emptor: Re: [Zope] problem installing login manager

2000-11-03 Thread MANUEL JOSE AMADOR BRIZ
Once you get DynPersist, if you\'re using the latest version of LoginManager you will still get an error about the plugins. (something about registerhelp contexthelp don\'t remember) Quick fix: cd into lib/python/Products/PlugIns edit the file __init__.py at line 7 there is a function called

Re: [Zope] zope book AppendixA error

2000-11-03 Thread Michel Pelletier
Didier Georgieff wrote: Hello, I guess DC people is already aware, but i get an error since yesterday while pointing to ZB/AppendixA.html Document Template Parse Error invalid parameter: "="Expression"]...", for tag dtml-let [Name=Variable][Name="Expression"]..., on line

[Zope] Local Time Zone

2000-11-03 Thread Daniel Rusch
Hey all, I know I can get the users language preference like this: dtml-var "REQUEST['HTTP_ACCEPT_LANGUAGE']" The question then is, is there a similar method of getting the users Local Time Zone??? Thanks, Dan ___ Zope maillist - [EMAIL

[Zope] Id ZopeStudio Dead?

2000-11-03 Thread Menard . Jean-Francois
I just looked at the Zope Studio last snapshot release date, and it is july 18. Is the Zope Studio Dead? Is there a projected alternative? Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations *(514) 840-3000 poste 3939 * (514) 840-5585 * [EMAIL PROTECTED] *

[Zope] Cookies Expiration

2000-11-03 Thread Kit O'Connell
I'm trying to set up something like is used in the Zope Elvis tutorial, where it sets a cookie to show when you last visited the site, so that I can flag certain articles as 'new'. However, I'd like to have this cookie set to expire one week from the date of the current visit. i.e., if its

[Zope] ZServer serving CGI by itself

2000-11-03 Thread Fred Wilson Horch
Hi folks, I'm evaluating Zope. We have existing CGI programs (such as mailman) that we'd like to run, but we don't want to hassle with running two web servers. So, my question is, how do you run CGI programs from ZServer itself? I know that I can run Apache (or a number of other web servers)

RE: [Zope] Cookies Expiration

2000-11-03 Thread Steve Drees
However, I'd like to have this cookie set to expire one week from the date of the current visit. i.e., if its 12:30 on 11/3 when a surfer visits my site, I want Zope to set their lastVisited cookie to expire on 12:30 on 11/10. Have a pythonmethod ID expireIn1Week Parameter List self

[Zope] Making Product Base Classable

2000-11-03 Thread Darin Lee
Zopistas, I would like to make a Zclass a baseclass of the Btree folder object. I installed Btree but it's not appearing in the list of base classes. Is there a way to get it in there? Any help would be greatly appreciated. Thanks in advance, -Darin Lee

Re: [Zope] Id ZopeStudio Dead?

2000-11-03 Thread Paul Everitt
I'll certainly say that Zope Studio has proven to be an overly-challenging proposition. We're still considering our position, but after spend some time over the last two days with the ActiveState people and talking about Komodo, I think we should certainly help ensure tight integration with it.

[Zope] Help with general purpose ZSQL Method

2000-11-03 Thread Jon Prettyman
I want to write a generic table browser ZSQL method and am having trouble getting the output that I want. Given a ZSQLMethod that looks like this: ID:browse_table Arguments: table:string="" Script: SELECT * FROM dtml-var table I'm trying to write a DTML method to display the results of

RE: [Zope] ZServer serving CGI by itself

2000-11-03 Thread Eric Walstad
Hi Fred, // I haven't seen any documentation on how to add CGI capability to Zope. // // Before I spend my time writing a product or external method that allows // me to call CGI programs from inside Zope, has anyone else already done // this? I have a C++ program I run from Zope and then return

[Zope] error in Zope book

2000-11-03 Thread michael angelo ruberto
in chapter 5 the example Creating a File Library has an error in the sorting method. dtml-var standard_html_header h1File Library/h1 table tr tha href="dtml-URL0;?sort=name"File/a/th tha href="dtml-URL0;?sort=date"Last Modified/a/th /tr

[Zope] Another Aiieee.....

2000-11-03 Thread Jon Prettyman
I am once again encountering the mysterious Aiieee error with core dumps from Zope/Python on a Solaris boxen. SunOS sparky 5.7 Generic_106541-08 sun4m sparc SUNW,SPARCstation-20 Python 1.5.2 (#1, Oct 24 2000, 11:56:43) [GCC 2.8.1] on sunos5 Zope-2.2.2 DCOracle 1.3.2 448M ram I get the

RE: [Zope] ZServer serving CGI by itself

2000-11-03 Thread Eric Walstad
Oops, replace "gashtg" with "interestingValue" below. Sorry I missed t. -E ... "ws.calc.results.gashtg"/p should be ... "ws.calc.results.interestingValue"/p ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Securing an FTP server.

2000-11-03 Thread Jason C. Leach
hi, Thanks for the tip. I was hoping, once a user loges on for them to get deposited in a folder; mostly so they could not see who the other clients were. And yes, that is indeed UCC of Kamloops. j. .. . Jason C. Leach ... University College of the Cariboo. .. On

Re: [Zope] Refrencing.

2000-11-03 Thread Jason C. Leach
hi, Ya. I'm developing a site (area really) for a client that must automatically detect all images, displaying only thumbnale images, which get linked to the large size. Once I get referencing down, it should be OK. j. .. . Jason C. Leach ... University College of the

[Zope] Combining products

2000-11-03 Thread Anders Eriksson
Hello Zopistas, As a newbee I have some difficulties understanding everything about Zope (.but I'm getting there.) What if I want to combine two of the larger products, The Portal ToolKit and the Squishdot. How would one go about to do this? I would like to have the membership and the other

Re: [Zope] error in Zope book

2000-11-03 Thread Michel Pelletier
michael angelo ruberto wrote: in chapter 5 the example Creating a File Library has an error in the sorting method. ---ERROR --- dtml-in expr="objectValues('File')" ~this should be dtml-in

[Zope] Manually inc. sequence.

2000-11-03 Thread Jason C. Leach
hi, How do you manually move to the next item in a sequence? Also, how do you break one? j. .. . Jason C. Leach ... University College of the Cariboo. .. ___ Zope maillist - [EMAIL PROTECTED]

[Zope-dev] python memory error on Windows NT

2000-11-03 Thread Coi Giovanni
Hi, someone has never seen this kind of error on Windows NT 4.0 (last patch update) while executing IIS 4.0 + Zope 2.2.2? The panel say: python.exe The instruction at "0x1b271a1f" referenced memory at "0x" The memory could not be "read" it hang python (and so Zope) until someone,

Re: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Toby Dickenson
On Fri, 3 Nov 2000 09:44:42 +0100, "Coi Giovanni" [EMAIL PROTECTED] wrote: someone has never seen this kind of error on Windows NT 4.0 (last patch update) while executing IIS 4.0 + Zope 2.2.2? The panel say: python.exe The instruction at "0x1b271a1f" referenced memory at "0x" The memory

Re: [Zope-dev] Question: How can instatiate a Zclass from python.

2000-11-03 Thread Martin Grönemeyer
At 13:30 02.11.00 +0200, you wrote: I am creating an external method in python and I want to add a product (in that method) which is a Zclass (only, it doesn't exists in the lib/python/Products directory). How can I instatiate this object and how can I overide the name error that will occur

[Zope-dev] BASEPATH

2000-11-03 Thread Robin Becker
Can someone explain to me why the CVS version of Zope2 contains references to BASEPATH and the recently released 2.2.2 doesn't? Is this a new feature? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope-dev] cPickle.c

2000-11-03 Thread Robin Becker
I see a reference to mymath.h in in cPickle.c is that intentional? -- Robin Becker ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope-dev] cPickle.c

2000-11-03 Thread Toby Dickenson
On Fri, 3 Nov 2000 13:03:50 +, Robin Becker [EMAIL PROTECTED] wrote: I see a reference to mymath.h in in cPickle.c is that intentional? With python 2.0 you dont need (and shouldnt use) the cPickle or cStringIO that comes with Zope Toby Dickenson [EMAIL PROTECTED]

RE: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Toby Dickenson
That sounds like a bug in an extension module The installed packages on the site are (all the Zope 2.2.2 released with and): ZODBCDA (Installed product ZODBCDA) we use 2 ODBC connection on 2 MSAccess MDB and no python extension. I do not know where and when the problem

[Zope-dev] RE: [Support] Sybase 11.9.2 with Zope 2.2.0

2000-11-03 Thread Brian Lloyd
Error Type: AttributeError Error Value: 'string' object has no attribute 'server' The error is raised because in the Sybase Adapter an attribute 'server' of connection_string is accessed. Looking at the 2.1.6 code of Connection.py I found two new lines, which convert

Re: [Zope-dev] cPickle.c

2000-11-03 Thread Robin Becker
In article [EMAIL PROTECTED], Toby Dickenson [EMAIL PROTECTED] writes On Fri, 3 Nov 2000 13:03:50 +, Robin Becker [EMAIL PROTECTED] wrote: I see a reference to mymath.h in in cPickle.c is that intentional? With python 2.0 you dont need (and shouldnt use) the cPickle or cStringIO that comes

[Zope-dev] New proposal - WikiForNow

2000-11-03 Thread Ken Manheimer
A week or so ago i threatened to post a proposal for near-term fixes of wikis on zope.org to alleviate some of the glaring fishbowl pain (looking to collect preliminary suggestions) - well, it's here: http://dev.zope.org/Wikis/DevSite/Proposals/WikiForNow From the problem statement: While

[Zope-dev] 2gb file size

2000-11-03 Thread Andy McKay
My database has suddenly ballooned to 2 gig's stopping my Zope from running. Are there any utils to delete the last transaction or so? This is kinda urgent... :( Thanks. -- Andy McKay, Developer. ActiveState. ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] python memory error on Windows NT

2000-11-03 Thread Phil Harris
Me too, I've seen memory problems with ODBC to Access. - Original Message - From: "Toby Dickenson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, November 03, 2000 4:13 PM Subject: RE: [Zope-dev] python memory error on Windows NT | That sounds like a bug

Re: [Zope-dev] Fw: 2gb file size

2000-11-03 Thread Andy McKay
Ive tried truncating the file and then running fsrecover.py, but get: File "ZODB\FileStorage.py", line 1530, in read_index if read(4) != packed_version: raise FileStorageFormatError, name FileStorage.FileStorageFormatError: q:\var\Data.fs As a desperation I commented out line 1530 and