Re: [Zope] Help - Python

2001-01-24 Thread J M Cerqueira Esteves
Ol :) On Tue, Jan 23, 2001 at 08:56:34PM +, Paula Mangas wrote: I'm a newbie and i would like to know how can i create a DTMLDocument from a Python method. Here is a short example of document creation (with a few other tips), assuming it's in a Python method with parameters (self,

[Zope] Python Methods 0.1.7 under Zope 2.2.1

2000-09-17 Thread J M Cerqueira Esteves
Working with Zope 2.2.1 (in two distinct servers), I noticed the following behaviour with (0.1.7) Python methods (created under Manager role): 1. Apparently anyone (non-authenticated users) can successfully run the methods even if these include operations (folder/file/user creation, etc.)

Re: [Zope] Backslash as line continuation in C (Unix)

2000-09-13 Thread J M Cerqueira Esteves
On Tue, Sep 12, 2000 at 09:45:53PM -0700, Hung Jung Lu wrote: I am trying to build a third-party utility in Linux. I ran into troubles in the compilation process because of the usage of backslash \ as line continuation. (This is used in #def preprocessor macro statements.) When I remove

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

2000-09-08 Thread J M Cerqueira Esteves
On Thu, Sep 07, 2000 at 10:12:16PM -0400, Douglas Eadline wrote: 6. OK, I'll add a user. I go to acl_users and add a user. Did you give it the "manager" role? Best regards J Esteves -- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/

Re: [Zope] 2.2.1 and zdiscussion

2000-08-26 Thread J M Cerqueira Esteves
Hi On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote: hi a clean install won't start properly with ZDiscussion product install. the same thing also with ZDiscussion based classes created. There is a missing comma in the definition of __ac_permissions__ in class ZDItem (file

[Zope] Broken ZDiscussions-0.5.3 on 2.2.1b1: missing comma...

2000-08-21 Thread J M Cerqueira Esteves
I tried to install ZDiscussions (ZUBB) 0.5.3 it on a Zope 2.2.1b1 and got a broken product. The traceback I got at Zope startup was: 2000-08-21T01:44:09 ERROR(200) Zope Couldn't import Products.ZDBase Traceback (innermost last): File /usr/local/lib/Zope-2.2.1b1/lib/python/OFS/Application.py,

[Zope] Another permission mapping error... [still ZDiscussions 0.5.3]

2000-08-21 Thread J M Cerqueira Esteves
On Mon, Aug 21, 2000 at 05:03:37PM +0200, Wolfgang Strobl wrote: I just tried installing a freshly downloaded copy of YihawDirectory.zexp into a relatively new 2.2.1b1, but in vain. snip Error Type: Permission mapping error Error Value: Attempted to map a permission to a permission, Add

Re: [Zope] Your feedback: what should DateTime strftime() behavior be?

2000-07-27 Thread J M Cerqueira Esteves
+1 -- jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] image inclusion: empty ALT not the same as no ALT

2000-06-23 Thread J M Cerqueira Esteves
Greetings I just noticed a problem with the `tag' method: If I insert an image with dtml-var "some_image.tag (border='0', alt='')" (nice because `width' and `height' are inserted automatically), I get an img element with NO `alt' attribute, instead of an `alt' atribute with an empty string

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

2000-06-02 Thread J M Cerqueira Esteves
On Fri, Jun 02, 2000 at 09:02:11AM +0100, Phil Harris wrote: Try going to http://localhost:8080/__no_before_traverse__/manage Oops, I should have re-read SiteAccess docs... Thanks. After a few tests it seems to work normally except for one feature: When managing through

Re: [Zope] Two issues for Z2.2: XHTML malicious tags

2000-06-02 Thread J M Cerqueira Esteves
On Fri, Jun 02, 2000 at 06:50:46PM +0200, Alexander Limi wrote: 1. The HTML that Zope outputs is not very standards-compliant (XHTML 1.0) at the moment. Tags like img / are rendered as IMG etc. I would like to Perhaps support for XHTML-compliance in Zope should be optional. I wrote a few

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

2000-06-01 Thread J M Cerqueira Esteves
On Thu, Jun 01, 2000 at 06:18:25PM -0600, ethan mindlace fremen wrote: o Some basic hooks to support virtual hosting (a la SiteAccess) have been designed and will be added to allow product authors to write virtual hosting support without fragile dependencies on parts