Re: [Zope] Zope and PHP

2000-05-18 Thread andres
/PHP written by yours truly. The example needs some work to support the POST method and cookies. -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-23 Thread andres
who is producing the buggy If-Modified-Since that puts the date back to 1900. Does someone know how to trap the headers that are sent to Zope so they can be inspected? -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED

[Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread andres
Any ideas on how this can be happening. Stepping through the DateTime module yields the sensible return value of 953146937.0 but somehow int() converts this incorrectly. -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED

Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread andres
-- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread andres
f possible. A floating point argument will be truncated towards zero. ------ Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL

Re: [Zope] Weird interaction between int() and DateTime.timeTime

2000-05-25 Thread andres
953146937 Thank you, that was illuminating. Keep forgetting that floats are not always what they are printed to be. ------ Andres Corrada-Emmanuel Email: [EMAIL

Re: [Zope] newbie Q. DTML syntax

2000-05-31 Thread andres
represented whenever it is printed. In the case of the User class, lib/python/AccessControl/User.py defines the method __str__ as: def __str__(self): return self.getUserName() ----

Re: [Zope] newbie Q. DTML syntax

2000-06-02 Thread andres
HENTICATED_USERbr dtml-if "_['sequence-item'] == AUTHENTICATED_USER.getUserName()" Success!br dtml-else Failure!br /dtml-if p /dtml-in Test sequence-item.title to make sure it is returning what you want. ----

Re: [Zope] A problem with image caching affecting certain versions of Netscape browsers browsers

2000-06-06 Thread andres
turned into whole seconds with Python's int() function. Dates so early lead to float numbers that exceed the range of numbers int() can deal with. This is also fixed in the current CVS version. ------ Andres Co

Re: [Zope] How to know if a list contains a specified item ?

2000-06-07 Thread andres
in list" ... /dtml-if . . dtml-if "'a' in list" ... /dtml-if /dtml-let ------ Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] --

Re: [Zope] seeking help on roles, authorization, permission

2000-06-07 Thread andres
? -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Difference between dtml-myvar; and dtml-var myvar

2000-06-15 Thread andres
you'll find your header HTML source in the browser, instead of rendered HTML." ------ Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___

Re: [Zope] Problem to init a DTML Document by uploading a file

2000-06-23 Thread andres
; tag. If enctype is specified as shown above, then you will get the contents of the file in whatever cgi variable you named in your input tag. If you explain why you are calling manage_addDTMLDocument I could be more helpful. -----

Re: [Zope] Problem to init a DTML Document by uploading a file

2000-06-23 Thread andres
acts like a regular text field. ------ Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.

Re: [Zope] Workaround for objectValues security problem?

2000-07-13 Thread andres
On Thu, Jul 13, 2000 at 12:47:56PM -0400, Andres Corrada-Emmanuel wrote: The problem, as reported in a posting from Jerome Alet last week, is that the Anonymous user does not have permission to access the objectValues method. Giving the navigation I should correct myself by saying

Re: [Zope] Newbie: Zope a webserver? Serving PHP and Perl

2000-07-14 Thread andres
- Original Message - From: Lucas Young (c) Also, How do I set Zope up so it handles PHP tags? Take a look at a HOW-TO I wrote for one way to serve PHP from within Zope: www.zope.org/Members/Mamey/PHP -- Andres Corrada

Re: [Zope] namespace??

2000-07-14 Thread andres
'].id == CIDADE" dtml-call "REQUEST.set('TITULO_CIDADE',_['sequence-item'].title)" /dtml-if /dtml-in I, for one, don't quite understand your question Marcus. Could you be more specific? ------ Andres Corrada-Emma

Re: [Zope] Enitity syntax and 2.2

2000-07-20 Thread andres
. -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread andres
ot; /dtml-let dtml-else input type=text ... value="" /dtml-if -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread andres
Thanks guys, Replace the whole mess with:- input type="TEXT" value="dtml.missing-foo;" input type=text ... value="dtml-var "REQUEST.for['foo']" html_quote missing -- Andres Corrada

[Zope] Zope performance ratios

2000-07-24 Thread andres
for useful ratios like: "a Zope page takes, on average, twice as a static page to serve"? I'm not interested in being anal about the numbers, seat of the pants estimates are what I'm looking for. ------ Andres Corrada-Emmanuel Email: [EMAIL

Re: [Zope] Probable Bug in OFS.Image.index_html

2000-08-18 Thread andres
eader and determines that the browser has an up to date image in its cache. Zope correctly set status 304 and then returns "RESPONSE". ------ Andres Corrada-Emma

Re: [Zope] Probable Bug in OFS.Image.index_html

2000-08-20 Thread andres
in its cache. Zope correctly set status 304 and then returns "RESPONSE". Dieter -- ------ Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- __

Re: [Zope] Images slow rendering problem

2000-09-04 Thread andres
? -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] ANN: Serving PHP/Perl from Zope update

2000-09-05 Thread andres
to Authorization and Cookies so suggestions and improvements are very much welcome. -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope

Re: [Zope] Ad banners in Zope anyone ?

2000-09-05 Thread andres
/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 ) -- -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED

Re: [Zope] Tiny tables

2000-10-13 Thread andres
zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- ------ Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist

Re: [Zope] Converting PHP3 - Zope

2000-10-13 Thread andres
ttp://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- ------ Andres Corrada-Emmanuel Ema

Re: [Zope] TinyTablePlus: Problems with quotation marks

2000-10-25 Thread andres
- Shouldn't setRow recognize the existing row and change that one? I can't see what I am doing wrong here. Does it have anything to do with the double quotation marks in the data? tia, Danny ___ Zope maillist - [EMAIL PROTECTE

Re: [Zope] php and zope

2000-10-27 Thread andres
://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 ) -- -- Andres Corrada-Emmanuel Email: [EMAIL

Re: [Zope] PHP-Pages

2000-10-30 Thread andres
''' ô¿ô - -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] Internet Programming .mamemy.com -- ___ Zope maillist - [EMAIL PROTECTED

Re: [Zope] Zope.org down?

2000-11-01 Thread andres
uot; soon, but it will be sufficient such that all 500mb of our objects can be floating about in ram if need be. This should improve our performance drastically. Hope that helps, -- -mindlace- Zopatista Community Liason ------ Andres Corrada-Emmanu

Re: [Zope] PHP and Zope

2000-11-04 Thread andres
, Vince -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] PHP/Zope Guru

2000-11-09 Thread andres
would be highly appreciated and helpful, as I have to argue the decision for one or the other system with the initiators of the project. -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] Mamey - Internet Programming www.mamey.com

[Zope] Mental disconnect help: Zope objects vs. Python objects in ZODB

2001-01-18 Thread andres
disconnect and is it just trivial to write Python scripts that create objects in the ZODB and have Zope dtml calls that access the attributes in these objects? -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED

Re: [Zope] Mental disconnect help: Zope objects vs. Python objects in ZODB

2001-01-19 Thread andres
. -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Mental disconnect help: Zope objects vs. Python objects in ZODB

2001-01-19 Thread andres
-- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Workaround for objectValues security problem?

2000-07-13 Thread Andres Corrada-Emmanuel
Hi, I'm trying to create a navigation bar DTML Method that goes something like this: dtml-let root="PARENTS[-1]" dtml-in "root.objectValues('Folder')" . . . The problem, as reported in a posting from Jerome Alet last week, is that the Anonymous user does not have permission to access the

[Zope] ANN: HOWTO Use mod_gzip to accelerate Zope

2000-11-01 Thread Andres Corrada-Emmanuel
che server. -- ------ Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] Director of Technologyhttp://www.mamey.com Mamey Phone: (413) 529-9993 -- -- ___ Zope maillist - [EMAIL PROTE

[Zope] 404 Error on /p_/ Zope management images

2000-11-05 Thread Andres Corrada-Emmanuel
Object list. All the installed products show up and existing folders and documents also appear. I'm completely baffled. Anyone seen this type of behaviour? -- ------ Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] Director of Technology

[Zope-dev] I'm having troubles with MySQL MONTHNAME() function

2000-10-27 Thread Andres Sanchez Gomez
var with an other var. I can't do this: dtml-if " Month(DATE)==' 1' Diciembre dtml-elif " Month(DATE)==' 2' Febrero etc Thanks to anyone who can help me, or read me. And please, forget my english. Andres Sanchez Gomez ___ Zope-De

[Zope-dev] I don't find the way to number the pages in a batch process.

2000-10-28 Thread Andres Sanchez Gomez
I have the data divide in pages with ten results each. I'd like to now if i can do it adn, if possible, the to do it. Andrés Sánchez Gómez ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts