Re: [Zope-dev] Structured text img html tag not working properly

2003-11-12 Thread Max M
. And they have many many documents. I could write a converter, for converting it into the new image tag, but that would suck too. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts

Re: [Zope-dev] Renaming a product

2003-06-17 Thread Max M
Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )

Re: [Zope-dev] Re: Using index.htm(l) files like index_html

2003-03-21 Thread Brent M Hendricks
On Fri, Mar 21, 2003 at 05:12:37PM +0100, Maik Jablonski wrote: David Cain wrote: How can I customize my Zope server to treat index.html and index.htm files like index_html files? Your question has nothing to do with developing the Zope Application Server, but only with developing

Re: [Zope-dev] How (in)secure is Zope?

2003-03-13 Thread Max M
Jamie Heilman wrote: In this sense Zope is again VERY secure. No it isn't. A statement like that without an argument is worthless in a discussion. You need to elaborate as we cannot read your mind and see what lies behind the statement. regards Max M

Re: [Zope-dev] product import question

2003-03-11 Thread Max M
M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )

Re: [Zope-dev] Why is it _setObject(), and why is it undocumented

2003-02-01 Thread Max M
an object to an objectmanager, if you don't use _setObject() ?? Every time you make an object that subclasses ObjectManager, wich is often, you need to use that function. That can hardly be called private. -- hilsen/regards Max M Rasmussen, Denmark http://www.futureport.dk/ Fremtiden, videnskab

Re: [Zope-dev] Plone/Metadata/FUD

2002-10-03 Thread Max M
. An evolutionary dead-end so to speak. If Zope gets forced to go in one different direction, like CMF, it will quickly hit an evolutionary dead end. regards Max M -- The reason I don't reach any higher is that I stand on the shoulders of midgets

Re: [Zope-dev] I/O Error

2002-09-09 Thread Max M
ideas what that can be? If you have started Zope without a terminal for it to output it's errors and alerts to, it can do that. On Linux you should start it with a nohup ./start -D ... etc. regards Max M evolve ___ Zope-Dev maillist

Re: [Zope-dev] Future of StructuredText

2002-09-05 Thread Max M
of text. Max... And the advantage is that REST has a syntax that is much closer to what ordinary users expect. In userland indentation is actually a hard problem. regards Max M Skeptic Effect or the Randi Effect When a skeptic is near, supernatural effects seem to disappear

Re: [Zope-dev] Speaking of Structured Annoyances

2002-09-05 Thread Max M
? regards Max M Skeptic Effect or the Randi Effect When a skeptic is near, supernatural effects seem to disappear. evolve ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Future of StructuredText

2002-09-04 Thread Max M
format=rest ??? Then we could use both interchangably. regards Max M Skeptic Effect or the Randi Effect When a skeptic is near, supernatural effects seem to disappear. evolve ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope-dev] Relations

2002-09-02 Thread Max M
to an object, or you could use the mxmRelations product. regards Max M Skeptic Effect or the Randi Effect When a skeptic is near, supernatural effects seem to disappear. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope-dev] Relations

2002-09-02 Thread Max M
the get-go. Hav en god dag! regards Max M evolve ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org

Re: [Zope-dev] DTML and REQUEST data changes about to be checkedin

2002-08-13 Thread Max M
Jim Fulton wrote: The plan is to release 2.6 as soon as we can. We're really busy with a bunch of customer work and haven't had as much time to work on this as we'd like. Well actually this is more comforting than if you had a lot of time on your hands ;-) regards Max M -- Sorry I

Re: [Zope-dev] Changes to ZCatalog

2002-06-13 Thread Max M
, or is attached as comments in the cvs, or where do you guys keep each other up to date about changes taking place? regards Max M -- Sorry I would Really Like To Help More On This Project, But Am To Busy Doing Paid Work On A Tight Deadline Max M

Re: [Zope-dev] access to ZCatalog-data via xmlrpc

2002-05-30 Thread M.-A. Lemburg
by making sure it is not too big, and returns a vanilla list or dictionary I wrote a little pythonscript to export data from a ZPatterns Rack, where the data is stored in a propertysheet: res=context.Catalog() t=[] for m in sequence.sort(res,(('reg_id','cmp','desc'),)): r

Re: [Zope-dev] Restricting Sub-Objects in Folders DYNAMICALLY?

2002-03-16 Thread Max M
result You can probably modify it to your needs. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman

Re: [Zope-dev] Modifying a menu

2002-03-14 Thread Max M
and overwrite all_meta_types(). This functions returns a list of tuples, telling which objects to be added to the add * selectbox. But it WILL bite you later. For further info google for meta_types and all_meta_types regards Max M ___ Zope-Dev

[Zope-dev] Putting a list of objects into the current namespace (or something)

2002-03-12 Thread Max M
idea is either to subclass ObjectManager and overwrite __getitem__(), or to find a way to push my objectlist onto the request object. Any better ideas? Pointers to code that does something similar? regards Max M ___ Zope-Dev maillist - [EMAIL

Re: [Zope-dev] Putting a list of objects into the current namespace (or something)

2002-03-12 Thread Max M
was in the Transparent Folder product. regards Max M ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

[Zope-dev] Method invocation after Zope restart

2001-07-05 Thread Paulo M. Goncalves
Hi everybody, Just one question (maybe a newbie question): After a Zope restart I want to invoke a method from an object instance. Is there a such mechanism builtin in the Zope startup? Or in a more wide perspective, how could an object instance be notified of a Zope restart? Thanks, Paulo

[Zope-dev] ZCatalog out of Zope

2001-06-30 Thread Paulo M. Goncalves
Hi, I'm a Zope and Python newbie and I'm trying to work with Zope's ZCatalog in a Product coded in python. Can anyone give some intro or point to some links with info in this subject. Thanks, Paulo --- Paulo Marques

RE: [Zope] PCGI and MS-IIS on Nt5

2001-01-29 Thread Max M
embers/4am/SiteAccess2 It can change your links so that they will match the ugly /scripts/zope.pcgi url that you get through IIS. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTM

RE: [Zope] RESPONSE.redirect

2001-01-29 Thread Max M
elsewhere than the first page you want shown. Or you could make a delay in JavaScript and after that do a self.document.src = "new/url" Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] wo

Re: [Zope] Cobalt Qube

2001-01-27 Thread Francisco M. Marzoa Alonso
El Sat, 27 Jan 2001, escribiste: Inexplicably I purchased a Qube 2 to play around with but am wondering whether I should keep or dispose of it now. I've left the shrinkwrap on while I decide. It was *cheap*! We've one of those also, and also for play around X) It's only used as internal

Re: [Zope] a little problem - $1 reward!

2001-01-25 Thread M.
Lee, This is more than likely your mailer doing this, not Zope. try: dtml-sendmail mailhost="MailHost" To: dtml-var "_.string.join(recipients,'@cs.strath.ac.uk, ')"@cs.strath.ac.uk From: "dtml-var sender" Reply-To: dtml-var senderEmail Subject: dtml-var subject X-Mailer: ZAPHOD Mail

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,

RE: [Zope] What the f*ck went wrong...?

2001-01-19 Thread Max M
t; directory. I cannot imagine that it would be difficult. regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Shipping software is an unnatural act ___

RE: [Zope] Setting the sort var in dtml-in ...sort=sortVar

2001-01-18 Thread Max M
From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Max M writes: Does anybody know if it is possible to programatically set the sort parameter in something like: dtml-in getAllComments sort=fwd_thread There is a product on zope.org that enhances sorting capabilities drastically. Unfortunately

[Zope] Security error when inserting object from my own Python product in objectmanager

2001-01-18 Thread Max M
cancel it inserts the object just fine. So it kind of works, but it looks somewhat sloppy to get a page full of errormessages when inserting an object. ;-) regards Max M Traceback (innermost last): File C:\mxmZope\lib\python\ZPublisher\Publish.py, line 222, in publish_module File C:\mxmZope

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

2001-01-18 Thread Max M
-To that'll get you at least some of the way in understanding it. regards Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Shipping software is an unnatural act

RE: [Zope] Using images as submit buttons

2001-01-18 Thread Max M
Untested but tried: script language=JavaScript function submit(){ self.document.formName.submit(); } /script a href="javascript:submit();"img src="submit.gif"/a Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] wo

RE: [Zope] Putting a variable in a redirect call

2001-01-17 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Yvonne Totty I need to replace the URL below to a partial dtml-var and and an address, like so: dtml-call "RESPONSE.redirect ('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTemp/'+LUserOut+'.do c')" to: dtml-call

[Zope] Setting the sort var in dtml-in ...sort=sortVar

2001-01-17 Thread Max M
getAllComments() returns? Yes I could roll my own but it would be easier to use Zope's, if I knew how to. regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specializat

RE: [Zope] How do I authenticate through pcgi and win2000 ????

2001-01-15 Thread Max M
I just wondered if there is an "AUTHENTICATED_USER.authenticate(userName, password)" that I could call from a form. And then bypass all that IIS mumbo jumbo completely. Guess I will have to dig the sources. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director priva

[Zope] Strange structured-text behaviour in Python Product.

2001-01-15 Thread Max M
I have a Python product where I have a variable called self.description but when I try to show it with dtml-var description fmt=structured-text the text doesn't get formatted. Is there any good reason for that? It shows the text just fine, just not as structured-text. Regards Max M

[Zope] PrincipiaSearchSource() dtml-method and Catalog

2001-01-14 Thread Max M
var2 +var3" #2 --- dtml-var var1 dtml-var var2 dtml-var var2 regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. -

RE: [Zope] Design/DTML question

2001-01-10 Thread Max M
'batch-size']/2)" dtml-var meeting_date /dtml-if td /tr /table Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. -

RE: [Zope] [python] converting int to string?

2001-01-07 Thread Max M
From: Jens Vagelpohl in python you can do: str(int) and in zope you do it like _.str(int) You can also use the short form in both Zope and Python: `int` Two of those funny `` characters surrounding what you want converted to a string. Regards Max M Max M. W. Rasmussen,Denmark. New

[Zope] My own alternative interface to a propertysheet in a zClass gets redirected to the original interface

2001-01-07 Thread Max M
e to avoid it? something like: I thought i could just set: input type=hidden name=DestinationURL value=edit in the alternative form. dtml-call "REQUEST.set('DestinationURL','edit')" dtml-call manage_editProperties(REQUEST) Regards Max m Max M. W. Rasmussen,Denmark. New Media Director priva

RE: [Zope] My own alternative interface WHOOPS that got mangled

2001-01-07 Thread Max M
d just set: input type=hidden name=DestinationURL value=edit in the alternative form. Do I have to make a new page to avoid it? something like: dtml-call "REQUEST.set('DestinationURL','edit')" dtml-call manage_editProperties(REQUEST) Regards Max m Max M. W. Rasmussen,Denmark.

Re: [Zope] External Methods

2001-01-05 Thread Ryan M. Dolensek
Try... for k,v in form.items(): k should contain the key name v should contain the value Otherwise... value = form['Name_Of_Variable_OF_my_form'] Hope that helps. Ryan Hello, Ok Sirs, I'm very late in my checking my mailbox ;-) I've a question in this code above : How can I get

RE: [Zope] tuples in DTML

2000-12-27 Thread Max M
] String 1 String 2 String 3 Now, how do I iterate over the list in DTML? dtml-call REQUEST.set('the_list', External_Method(REQUEST)[0]) dtml-in the_list blah blah dtml-var sequence-item dtml-in Something like the above ought to work. Reg

[Zope] newbie zcatalog

2000-12-19 Thread Max M. Stalnaker
Please consider the following code fragment: dtml-if expr="REQUEST.REQUEST_METHOD=='POST'" dtml-call "REQUEST.set('ts', ZopeTime())" dtml-call "REQUEST.set('id',_.str(_.int(ts)))" dtml-call "postings.catalog_object(REQUEST.postingtext,REQUEST.id)" Classified:p dtml-var "REQUEST.postingtext" p

RE: [Zope] ZPatterns

2000-12-17 Thread Max M
explanation, I figured you were a regular ZPatterns user :-) No such luck. I am too busy right now to learn new stuff. Has to get a project or two out the door first. But it sounds very interresting so I will give it a go in the beginning of the new year. Regards Max M Max M. W. Rasmussen

RE: [Zope] site structure (fwd)

2000-12-14 Thread Max M
it in regular Python I would use special classes for special layouts. That is hard to do in Zope. Regards maxm Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects

RE: [Zope] site structure

2000-12-14 Thread Max M
. ie. you should put an empty "header_script" method if needed. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.

[Zope] Re: PIL Problem

2000-12-13 Thread Max M
--- Luc Tonin [EMAIL PROTECTED] wrote: well i m still trying to insert some text in a gif image using PIL but what should i do??? using da PSDraw class?? does anybody have an id ?? thx by advance Here is an example I got working under Windows. PIL has very limited font/text support though

RE: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread M. Adam Kendall
In the past few days I have been working on a patch that will let you edit ZClasses via FTP without the need for typing in actual pathnames to get to the methods (mainly so I can edit ZClasses with HTML-Kit). Strangely enough, even with the modifications, I see this same thing. I've included

[Zope] FW: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread M. Adam Kendall
ARGH.. Spoke too soon.. just figured out how to override it so it actually WILL let you get to methods of inner Zclasses. And yes, I have tried to save back to the methods and they save fine.. The next thing to try to tackle is how to make FTP create a DTML Method instead of DTML Document as the

RE: [Zope] FTP for ZClass hierarchies

2000-12-07 Thread M. Adam Kendall
Does this let you write the methods back? I was just able to change a DTML method in a ZClass (after patching a single indentation error). Adam, you rock! Yeah, I know ;) Only took me two days of playing around and figuring out what objects got called where and realizing that I had to

RE: [Zope] Which Python versions are supported?

2000-12-06 Thread Max M
releases? Perhaps I just missed it, but it would seem appropriate for this information to be in a prominent place (i.e., Zope's download page). The current releases of Zope is suposed to use Python 1.5.2. It might work with Python 2.0 but it hasn't been officially tested. Regards Max M Max M. W

RE: [Zope] Another Zope E-Commerce Site Online

2000-12-06 Thread Max M
been tested) Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein -Original Message- From: [EMAIL PROTECTED

RE: [Zope] Dreamweaver

2000-12-04 Thread Max M
her though. I believe Dreamweaver 4.0 is better in this regards. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A

[Zope] Finding PARENTS in an external method.

2000-11-30 Thread Max M
RENTS=None): To get a list of the root's Folder's, but no luck. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A

[Zope] Problem with Python Script in Zope-2.2.x-to-2.2.4-win32-x86.tgz or in my brain???

2000-11-27 Thread Max M
I just upgraded Zope on my Win 2K machine with Zope-2.2.x-to-2.2.4-win32-x86.tgz But I cannot find "Python Methods" or "Python Scripts" anywhere. Is it me being stupid or is the product missing from that tarball?? Regards Max M Max M. W. Rasmussen,Denmark. New Me

[Zope] PropertyManager

2000-11-14 Thread Max M
Does anybody know a good example that shows the working of the PropertyManager?? An example with a product that subclasses the PropertyManager and sets the "_properties" and the "__ac_permissions__" would be preferable. But anything will do. Regards Max M Max M. W. R

RE: [Zope] help

2000-11-13 Thread Max M
user in acl_user in your Zope root and give that user Manger rights. Then you can do what you expect. Regards Max M Btw. You should probably use a more descriptive subject in your e-mails. It was by coincidence that I opened it. "Help" isn't terribly descriptive and tim

RE: [Zope] problems reading tar file

2000-11-12 Thread Max M
-rename it to *.tar.gz and Winzip will do the right stuf. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
this (untested): dtml-call "REQUEST.set('itemCount', len(objectIds()))" Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.o

[Zope] [ANNOUNCE] New Minimal product How-To

2000-11-12 Thread Max M
If there is ANYTHING that is unclear please tell me about it. (Use the " Feedback to this page's author" link in the bottom of this page.)' Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] -

RE: [Zope] Newbie question(s)

2000-11-12 Thread Max M
having seen any other way of doing it. I expect that better days will be here with v.2.3 as we will get Python Methods, or whatever they are called. I am also still looking for example code using manage_delObjects. Sorry I cannot help there. Regards Max M

RE: [Zope] Zope declining?

2000-11-12 Thread Max M
lve harder problems in 2 minutes. If only somebody better would take 2 minutes to solve some of my questions :-) Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! *

RE: [Zope] why DTML confusing

2000-11-10 Thread Max M
use "sequence_item" etc. together with the other for a while and then drop the old form. It is the single most annoying thing in dtml, and as far as I can see in the source it should be trivial to give all those sequence-* a sequence_* name also. Regards Max M Max M. W. Rasmussen,Denmark.

RE: [Zope] Can't delete products

2000-11-08 Thread Max M
it there too. There might be exceptions but I havn't meet them yet. Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein

RE: [Zope] acessing parameters in a helper class

2000-11-08 Thread Max M
't def __init__(self, comment, author): self.comment = comment self.author = author Thanks for the info Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]

[Zope] Persistence triggering

2000-11-07 Thread Max M
= self.list + [item] Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein

RE: [Zope] Persistence triggering

2000-11-07 Thread Max M
the wrong way around things. Naturally it will have no effect on my own class if I set that value. So I guess I will use that. Thanks for the help. Regards Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] acessing parameters in a helper class

2000-11-07 Thread Max M
mments(self): "returns a list of all comments" return self.comments --- Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]

RE: [Zope] dtml-in over the output from my method

2000-11-06 Thread Max M
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Hicks I am trying to create a zope product in python but have got stuck with using the dtml-in tag to iterate over a method (or is it a function? I get a little mixed up) of my class. Here is the method, def list_messages(self):

[Zope] newbie

2000-11-04 Thread Max M. Stalnaker
I decided to devote the weekend to installing a web server on my win2k pro box and bringing a site up. I chose zope because I needed to have some database stuff and I know python. Zope seemed a good fit and it is advertised as simple to administrate. I have installed a few IIS sites for

RE: [Zope] Getting class hierarchy in products

2000-11-02 Thread Max M
, when calling objectValues() you can give it a parameter: objectValues('Folder') or for several "Meta Types": objectValues(['Folder', 'Image']) Regards Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL

RE: [Zope] Displaying Folder Contents.

2000-10-30 Thread Max M
-call "REQUEST.set('resultList', [])" dtml-in "Projects.objectValues('Folder')" dtml-let folderContent=sequence-item dtml-in folderContent.objectValues() dtml-call "resultList.append(title_or_id())" /dtml-in /dtml-let /dtml-in dtml-re

[Zope] My Items will not show themself in manage_main (objectItems)

2000-10-30 Thread Max M
esn't show up in Itemlist on the "manage_main" page. So I cannot edit the items that I have added. I only get the: "There are currently no items in XXX" Why is this? is there any special methods or something that I need to create for the Items to show up in "objectItems&

RE: [Zope] OT:NT and rebooting

2000-10-25 Thread Max M
finish one more project then I will upgrade from my old KDE1.0. Max M ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo

RE: [Zope] SuperUser cannot own ;-)

2000-10-24 Thread Max M
accidently removed view privilliges for administrators in a folder, at that time I was very happy to be able to log in as super and restore those proviliges, or else I would have had to remove the directory and start fresh. Perhaps it is also to avoid trojan horses being executed by super. Max M. W.

RE: [Zope] dtml-in returning null

2000-10-24 Thread Max M
y to do that?? dtml if InMethod dtml-in InMethod input type=text name=Name value="dtml-var name null="Name Here"" /dtml-in /dtml-if will probably suffice Max M. W. Rasmussen,Denmark. New Media Director private:

RE: [Zope] A ZClass for LaTeX documents

2000-10-23 Thread Max M
't to ugly. Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein ___ Zope maillist - [EMAIL PROTE

Re: [Zope] I want to use html_quote as a function

2000-10-16 Thread Ryan M. Dolensek
try... dtml-call "REQUEST.set('htmldesc',utils.httpEscapedString(REQUEST['description']))" ryan Soren Roug wrote: Hi, I can render text that potentially has html in it safely with dtml-var description html_quote but what if I want to assign the quoted result to another variable. I

Re: [Zope] Subtracting DateTimes?????

2000-10-05 Thread Ryan M. Dolensek
Try... dtml-if "(ZopeTime()).toZone('US/Central').h_24() == 2 and (ZopeTime()).toZone('US/Central').minute() = 45" dtml-commentTime to show backup warning!/dtml-comment /dtml-if Daniel Rusch wrote: We backup our database every night at 3:00 AM CT. 15 minutes prior to this (i.e. 2:45 AM) I

[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] Important Security Concerns

2000-09-12 Thread M. Adam Kendall
8080 to allow Zope pages through and then require authentication on the first page. Option B: Set up a DMZ off the firewall to allow the same as the above. Any feed back would be welcome. -- M. Adam Kendall | Got Linux? Internetworking| We do. Security

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
.2.1b1/lib/python/OFS/ObjectManager.py, line 271, in manage_afterAdd (Object: Traversable) File /usr/local/lib/Zope-2.2.1b1/lib/python/ZClasses/ZClass.py, line 422, in m anage_afterAdd (Object: ZDTopic) File /usr/local/lib/Zope-2.2.1b1/lib/python/OFS/ObjectManager.py, line 271, in manag

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

[Zope] Starting Zope on FreeBSD 2.2.8---Python dumps core

2000-06-23 Thread Loren M. McCarter
I'm having difficulty starting Zope. Versions: Zope: 2.1.6, compiled from source with "python wo_pcgi.py" Python: 1.5.2, (#2, Jan 17 2000) [GCC 2.7.2.1] on freebsd2 Python is compiled with pthreads enabled. FreeBSD: 2.2.8 (yes, I know it is outdated). Problem Description: The

Re: [Zope-dev] Distutils scripts for ZODB

2000-06-16 Thread Andrew M. Kuchling
On Fri, Jun 16, 2000 at 12:21:12PM -0700, Michel Pelletier wrote: I'm lost on what these scripts do, do they let you distribute ZODB in a standalone fasion? Do you have an example of that distribution based on, say 2.2b? Correct; you can run "python setup.py install" to install, say, the ZODB

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

<    1   2   3   4   5