[Zope] Javascript & dtml tags
Hi, Is there a way to include dtml tags with a javascript ? If there is please let me know. Best Regards, Kini. __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] User Class
I think "user information folder" product is what you need. Take a look here: http://www.zope.org/Members/did/UserInfoFolder --- Keith Alperin <[EMAIL PROTECTED]> wrote: > Greetings. I'm a bit of a Zope and Python newbie, so please forgive me > if I get some of the lingo wrong. I would like to build a user class in > python where I can store information like "First Name", "Last Name" etc. > I would also like to store the userid and password in the instances of > this class, and authenticate against them. It seems as though I should > inherit from the Zope user class, but I'm not sure exactly how to go > about doing that. > > Thanks so much in advance! > Keith R. Alperin > > > > > ___ > 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/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] tag for knowing how many have logged under the same URL (present time)
Hi, Kindly let me know how can we find out how many have logged (present time)into zope under the same URl.If there is an dtml-tag for this kindly give me that. bye, jacintha ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] security problems .. should be fairly easy...
I know I am posting quite a lot of questions to the list lately, sorry about that, it's just that I can save myself hours of trial-and-error coding when I get quick answers from list, so I hope you don't mind. It seems to be the fastest way to learn. I have a news page ZClass and a news article ZClass, both of which have several DTML methods. All methods apart from index_html should require a particular user role, "UAAdmin", to be held by the current user (thee mathods are all for editing anf manging the news page and articles). The index_html methods (which display the news article) should be available for anonymous access. I have been stuck with this for over a week now, I have tried all sort of combinations of permissions, defined permissions and user roles, but I can't figure it out and I can't find any examples in any of the Zope documentation about how to manage permissions for class methods. Does anyone know where I could find such documentation or examples if there are any? The whole thing's very confusing, but here's what I've worked out so far. Maybe someone could put me right and/or fill in the gaps? I think what I need to do is got the Define Permissions tab for each method, and for the View permission dropdown I should select View for the index_html method, and some other permission X for every other method. This other permission X should only be granted to the UAAdmin role. The question is, what is X to put in the dropdown, and how to assign it to UAAdmin. How would I go about creating a new permission, perhaps "Manage news pages", and how could I then assign that to UAAdmin? Would it then appear in the drop-down? Is this the right approach? How would I finish this off? Am I barking up the wrong tree? Any suggestions or advice would be most welcome. Thanks for your patience with newbies like me!! Alex == Alex Bowyer IT Contractor, Logica Australasia Tel: +61 2 9202 8130 Fax: +61 2 9922 7466 E-mail : [EMAIL PROTECTED] WWW: http://www.logica.com.au/ == ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] User Class
Greetings. I'm a bit of a Zope and Python newbie, so please forgive me if I get some of the lingo wrong. I would like to build a user class in python where I can store information like "First Name", "Last Name" etc. I would also like to store the userid and password in the instances of this class, and authenticate against them. It seems as though I should inherit from the Zope user class, but I'm not sure exactly how to go about doing that. Thanks so much in advance! Keith R. Alperin ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] PoPy
On Mon, 30 Oct 2000 10:43:16 +1030 (CST) you wrote: >ImportError: ./PoPymodule.so: Undefined symbol "sem_wait" Take a look at the man page for sem_wait(). Take the library/libraries listed there and put them on the configure line for PoPy. In my case (Solaris 2.6), I added "--with-libs=-lposix4". It'd be nice if PoPy would do this on its own. --kyler ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] PTK won't let me add objects
Hi, I'm working on a site based on the PTK DemoPortal. PTK is a great product, so I was happy to see a new release announced recently and took the opportunity (yesterday) to update my PTK installation from CVS. Well, now the Zope management interface won't let me add anything inside the Portal except Document, Link, News Item, Portal File, Portal Folder, and Portal Image. I'm NOT talking about the Portal interface - just the plain old Zope "Available Objects" button. Was this done on purpose? If so, why on earth would you want to prevent anyone from adding so much as a humble DTML method?? We're not talking about the end-user interface here. For now I'm going to revert to an old version of PTK, bugfixes be damned. I can't get any work done in this version. -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web page: http://www.slinkp.com A member of ARMS: http://www.reacharms.com ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How to create a run-time zclass instance?
How to create a run-time zclass instance, which stays in the memory, not in the zodb? __ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] What is 'Experimental LoginManager support' in PTK?
In the 2nd step of creating a portal site, there's a 'Database' option list. One can choose 'Zope Database' or 'Experimental LoginManager support'. If I pick the latter, I'll end up with such error: Error Type: NameError Error Value: Invalid/nonexistent ZClass 'MembershipZ/LoginMember' Does the 'experimental' mean 'unfunctional'? How can I make it work? Dirksen __ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZClass/DTML Document transparency
Hi all, I have a folder (foo) which contains a set of DTML Documents, and instances of a ZClass. From another DTML document, I enumerate the contents of this folder, using a DTML-IN tag: ... My problem is with ..., namely dealing with both DTML documents and ZClasses. In the case of DTML Documents, the following works fine: In the case of ZClasses, I have to use something like this: So I'm using this: But this is rather ugly, and it's the sort of thing one shouldn't have to do in an oo system. So, is there a better way? -Randy
Re: [Zope] Permission problems...
On Tuesday 21 November 2000 10:06, Dieter Maurer wrote: > Curtis Maloney writes: > > I really can't understand this... I am logged in as my normal Manager > > role user, editing away on my site. In the management section, no > > problems... I can edit, add and delete to my hearts content. > > > > However, when I try the normal view, one a certain page I get permission > > problems... It won't let me log in with _any_ users, even tho my > > permissions seem set correctly. > > > > The object in question is, in fact, standard_html_header, of all things. > > With the way the objects are set up, it's only rendering the same > > objects as from the previous page, with a little extra processing due to > > submitted form values. > > This is definitely not enough information. > No, you're right.. it's not enough information > Either your permissions are strange (you ruled this out) or > "standard_html_header" contains something strange that > maybe triggers a Zope bug (2.1.6. contained such bug, > when you e.g. used 'ZopeFind' or 'ZopeFindAndApply'). > As it turns out, I found the problem to be something wholy unrelated to standard_html_header. To be honest, I don't entirely understand the fault, but it's gone away now. Sorry for not posting a retraction to this question. > We may help you, if you post your "standard_html_header". > > Dieter Curtis. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Version Lock/save/discard Problem
Hi, I created a version in my zope root in which I've been working for some days. I created some objects on my root folder when working on my version which caused root to became locked. Now I want to save/commit my version. I go to the save/discard form and the save form post looks to work okay, i.e, I have a undo log of this commit and If I try to save again Zope tells me there is nothing else to save in the current version. But... when I try to delete my version I get a VersionLockError, and my root folder is still being locked. Same goes to Discard, i.e, apparentely zope do the save/discard but the locked files/folders continues there. I've tryed with superuser, and even on the Control Panel Version manage, with no luck. I'm using zope222. I'm using latest release of ZEO. I do a pack to my Data.fs on a daily basis. Anyone had this problem, any help? Thanx, Júlio Dinis Silva _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] how-to list all the zclasses constructors ?
Didier Georgieff writes: > I guess it should be simple to generate the list of constructors and > proposing the associated methods, but i just can't figure how to do that ;-< I answer with a general remark: Whenever you see that the Zope management interface does something you are interested in, you can learn how it is done by looking at the DTML source that built the respective management page. In your case, this is "OFS/main.dtml": &dtml-name; "filtered_meta_types" is a list of registered meta type objects. A meta type object has attributes "name", the meta type, and "action", the associated constructor. Dieter ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Question about security
Joaldo Junior writes: > Does anyone can inform if is there any kind of function, > which a common user can change your password by the same way a superuser can > do in ACL_User? Look at the built-in Zope API reference: User object. The User object has methods to read and change the information associated with a user. These methods are (of cause) protected such that only users with high priviledges can execute them. You will need to set a proxy role for the DTML object that calls them, in order to allow less priviledged users to call them. Dieter ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Uploading files / forms / aditional info / to local filesystem ..
Jorgen Skogstad - Sun Norway - System Support Engineer writes: > What I need is for a user to > fill out > a form with various information .. and click upload on a file .. and I need > to > create the following two files locall; > > Example: > * image.jpg > * image.info You use either "LocalFS" or an external method. The Zope documentation tells you much about external methods. Dieter ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] len() of unsized object error
Peter Bengtsson writes: > If found this TypeError description in many places in the mailing list archive, but >no solution to my sendmail problem. The problem was, that "dtml-sendmail" was incompatible with a debugging tool from Shane (I forgot its name, but the list archive will tell it to you). Dieter ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] RE : [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML
Kelvin Cheong writes: > > > id=&seq=&vid= > > where can i find out more about these properties, i.e. the seq...vid... and > so on..? The argument to "dtml-in" is a sequence of objects. "dtml-in" iterates over the objects. In each iteration, "dtml-in" exports the current objects attributes into the namespace. Thus, "seq", "vid", ... are probably attributes of your objects. Dieter ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Permission problems...
Curtis Maloney writes: > I really can't understand this... I am logged in as my normal Manager role > user, editing away on my site. In the management section, no problems... I > can edit, add and delete to my hearts content. > > However, when I try the normal view, one a certain page I get permission > problems... It won't let me log in with _any_ users, even tho my permissions > seem set correctly. > > The object in question is, in fact, standard_html_header, of all things. > With the way the objects are set up, it's only rendering the same objects as > from the previous page, with a little extra processing due to submitted form > values. This is definitely not enough information. Either your permissions are strange (you ruled this out) or "standard_html_header" contains something strange that maybe triggers a Zope bug (2.1.6. contained such bug, when you e.g. used 'ZopeFind' or 'ZopeFindAndApply'). We may help you, if you post your "standard_html_header". Dieter ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How exactly do I restart zope?
NYNewMedia writes: > How exactly do I restart zope? Under Unix, "./stop; ./start" in the Zope installation directory. Under Windows: "Shutdown" from Zope's Control Panel (to stop Zope) "start" (in Zope's installation directory) to start Zope. There is a way to start Zope at NT service. I am not an expert for this. Look at the upcoming Zope book (http://www.zope.org/members/michel/ZB) (or something similar). Dieter ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope / DCOracle / ZOracleDA / Oracle 7.3.3 crash/respawn problem
Zopatistas! ;) I am using the most recent versions of (Linux) DCOracle and ZOracleDA to connect my Zope (2.1.6) installation to a copy of Oracle 7.3.3 running on another (Solaris) machine. The Oracle database is rock solid, but I have been having a problem with Zope, one I need to fix. Basically, Zope is occasionally crashing when an SQL query is made. (with valid or invalid syntax.. it doesn't matter) This happens several times a day and makes the website unavailable for two or three minutes while Zope restarts. Obviously, this will not do for a production website. I have noticed that some other people have had this problem and posted to the list in the past. Please, if you know the solution to this..and have a moment, let me know what you did, or think I should do. Compilation tips, or a stable combination of ZOracleDA/DCOracle that I can use... Reliability is very important to this project. Thank you, Chris Beaumont [EMAIL PROTECTED] ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] jcNTUserFolder on 2.2.x
Is there an updated version or product similar to jcNTUserFolder (allowing NT authenitcation in Zope) that works in Zope 2.2.x? Or am I going to have to upgrade jcNTUserFolder? TIA. -- Andy McKay, Developer. ActiveState. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] FTP crashing zope
At 21:04 20.11.2000, Ron Bickers wrote: >Someone suggested to me that when they used passive mode [for FTP Server] >it would not crash,vs. using normal mode it would sometimes. Yes, that's correct. But it is way too easy for malicious people to kill a Zope-Server that has FTP enabled. They just connect in regular intervals - say 5 seconds - and your service won't be online anymore. That is why I disabled FTP support until I am sure that it will work smoothly in a future version. I just checked the bug reports again and saw the following on http://classic.zope.org:8080/Collector/1257/view : [1257] ZServer Bug: Ftp Active mode through firewall Category:Last Updated: Submitted On: May 17, 2000 3:20 pm Status: Pending Reported Version: Zope 2.1.6 Expected/Fixed Version: Too bad that this does not seem to be a real problem for the developers. The bug is still alive (Version 2.2.2), and I am too dumb to do "real" programming in Python to fix it :-( Martin ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ANNOUNCE: Zope 2.2.4 beta 1 released...
Hello all - Zope 2.2.4 beta 1 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.2.4b1/ This release supercedes the 2.2.3 release of Friday, which had an error that prevented permissions from being acquired correctly. Until the testing infrastructure that has been started in the 2.3 CVS is more mature and there is a useful regression test rig, we'll be planning for at least one (short) beta period for third-dot releases. I expect to make 2.2.4 final in a week barring any serious problems. This bug-fix release contains the fixes for all released Hotfixes to date, as well as fixes for a memory leak in the Acquisition module, various ZCatalog fixes and a fix for the infamous "__call__" bug (and there was much rejoicing!). For more information on what is new in this release, see the CHANGES.txt and HISTORY.txt files for the release: http://www.zope.org/Products/Zope/2.2.4b1/CHANGES.txt http://www.zope.org/Products/Zope/2.2.4b1/HISTORY.txt Note that we have also posted "diff" updates as .tgz files that will let you easily upgrade an existing 2.2.x site. These updates are available for those currently using the 2.2.x source release or the 2.2.x binary releases. To apply a differential update to your site: - download the appropriate .tgz file from zope.org - shutdown your Zope process - copy the .tgz to your Zope directory and extract it - run w_pcgi or wo_pcgi *if you are not using a binary release* - restart your process Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] FTP crashing zope (was: snappier zope.org/how to make sites as snappy)
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Martin Winkler > Sent: Monday, November 20, 2000 6:45 AM > To: [EMAIL PROTECTED] > Subject: Re: [Zope] snappier zope.org/how to make sites as snappy > > BTW: we do not use the FTP-Server feature of Zope, since it > sometimes kills all Zope servers - tested on 2 different machines > with different flavours of Linux :-( Someone suggested to me that when they used passive mode it would not crash, vs. using normal mode it would sometimes. I could have those reversed, but the bottom line was that they've been using one of the modes for some time without any problems, whereas the other mode would crash Zope "at random". Does that shed any light on fixing this serious problem? ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED] ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Search and replace
> ideally two external methods. one recurses through folders collect > objects of a particular meta_type > > the second external method calls the first to get a collection of > objects for a particular meta_type and performs string manipulations on > the raw() representation of the method. I think a better implementation would be to add a 'Replacable' interface, otherwise you have to assume too much about the internal representation of lots of different classes of object. --jfarr ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Search and replace
Hi Robin, ZCVSMixin works with ZClasses. It's a little cumbersome at the moment due to the Container/Contained problem and others: http://dev.zope.org/Wikis/DevSite/Proposals/SynchronizationMechanismZCVSMixin But it does manage ZClass method and properties on the filesystem. You do need to keep your head screwed on right to use it successfully with ZClasses right now hopefully it will be more 'bullet proof' in the future. -steve > "Robin" == Robin Becker <[EMAIL PROTECTED]> writes: Robin> In article <[EMAIL PROTECTED]>, Daniel Robin> Rusch <[EMAIL PROTECTED]> writes >> I have been following this thread with mild amusement. Those of >> you who don't think that there is any need for a search and >> replace are being, at the least, disingenuous. Have you never >> needed to replace a dtml var that is on a hundred or more pages >> with another one, but replace it only on some of the pages??? >> >> The lack of a search and replace, a find that actually "finds" >> a string on a page (instead of just the page) and other >> standard editor features are the reasons why Zope is being >> phased out of this companies (15,000 person worldwide company, >> the worlds largest web hosting and fiber optic network) web >> tool set. Robin> ... I also would like to be able to search dtml-method Robin> code that I put under ZClasses in my products. I can now Robin> after a bit of messiness with certain 'reserved' names (eg Robin> filtered_meta_types) get out all of the code in my product Robin> using ftp, but getting modified versions back is a Robin> problem. A source export/import to filesystem would be Robin> useful and allow all of the traditional tools to be used at Robin> least. -- Robin Becker Robin> ___ Zope Robin> maillist - [EMAIL PROTECTED] Robin> http://lists.zope.org/mailman/listinfo/zope ** No cross Robin> posts or HTML encoding! ** (Related lists - Robin> http://lists.zope.org/mailman/listinfo/zope-announce Robin> http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Image Maps
* CURTIS David <[EMAIL PROTECTED]> [001120 16:46]: > I am looking for information on Image Maps using Zope. I know that you need to use >a CGI script to get the results that you need. The search engine displays some >products that seem similar, but not exactly. Is there a better way? I'd recommend doing imagemaps on the client side, and leave zope out of it. No CGIs, no page reloads to find out the target url. try http://www.december.com/html/demo/imagemap.html for an example. seb. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Question about security
Does anyone can inform if is there any kind of function, which a common user can change your password by the same way a superuser can do in ACL_User? ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Search and replace
In article <[EMAIL PROTECTED]>, Daniel Rusch <[EMAIL PROTECTED]> writes >I have been following this thread with mild amusement. Those of you who >don't think that there is any need for a search and replace are being, >at the least, disingenuous. Have you never needed to replace a dtml var >that is on a hundred or more pages with another one, but replace it only >on some of the pages??? > >The lack of a search and replace, a find that actually "finds" a string >on a page (instead of just the page) and other standard editor features >are the reasons why Zope is being phased out of this companies (15,000 >person worldwide company, the worlds largest web hosting and fiber optic >network) web tool set. ... I also would like to be able to search dtml-method code that I put under ZClasses in my products. I can now after a bit of messiness with certain 'reserved' names (eg filtered_meta_types) get out all of the code in my product using ftp, but getting modified versions back is a problem. A source export/import to filesystem would be useful and allow all of the traditional tools to be used at least. -- Robin Becker ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Search and replace
I have been following this thread with mild amusement. Those of you who don't think that there is any need for a search and replace are being, at the least, disingenuous. Have you never needed to replace a dtml var that is on a hundred or more pages with another one, but replace it only on some of the pages??? The lack of a search and replace, a find that actually "finds" a string on a page (instead of just the page) and other standard editor features are the reasons why Zope is being phased out of this companies (15,000 person worldwide company, the worlds largest web hosting and fiber optic network) web tool set. Don't get me wrong, I think Zope is the greatest thing since sliced bread. But, if Zope is to become anything other than a bastion for open source zealots (myself included), a real editor is a necessity not a nicety! Zope had the opportunity to sweep this company ( it could have ended up on hundreds if not thousands of servers) but the lack of a professional interface doomed it. DR Lee Hunter wrote: > > Martin Winkler wrote > > I just wanted to express that this feature may be too hard to > > program for > > the (IMHO) rare cases that we really need it, but IF there > > I had understood that Python and Zope excelled at string manipulation. > That's why I am surprised that it would be difficult to scan a folder full > of documents to find a word and replace it with another (with the option of > ignoring anything in pointed brackets). I'm not a programmer so I probably > don't appreciate the complexities of the task, however in this case it seems > like the object-oriented database is a hindrance rather than a help. If it > was just a batch of html files I could search and replace through them with > just about any piece of software on my desktop. > > I wouldn't know whether this is the sort of tool that is generally useful, > but in my work I use search and replace all the time (if only to fix my > endless confusion over 'its' and 'it's') > > Cheers > > Lee Hunter > Hum Communications Ltd. > > ___ > 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/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Image Maps
I am looking for information on Image Maps using Zope. I know that you need to use a CGI script to get the results that you need. The search engine displays some products that seem similar, but not exactly. Is there a better way? Dave ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Big Work Ahead - any advise ???
Your note is vague. When designing sites of such magnitude, remember to use dtml-var (replacable content) where content is duplicated, and know acquisition very well. Bon chance. Troy -Original Message- From: George Osvald [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 18, 2000 8:45 AM To: [EMAIL PROTECTED] Subject: [Zope] Big Work Ahead - any advise ??? Hello Everyone, I have been playing with ZOPE for some time and I absolutely love it. I have my own site running without a problem for about six months. Recently I was able to demonstrate ZOPE to a "VERY" major player in entertainment industry (music and video). I sold the idea to them and in about one month I am supposed to start to redesign a major web site(and then may be another one). It contains about 2000 pages at the moment. Is there anything I should be aware of when designing a site of such magnitude in ZOPE? (streaming video and music is not going to be served from the ZOPE site) George Osvald ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Search and replace
Lee Hunter wrote: > > Martin Winkler wrote > > I just wanted to express that this feature may be too hard to > > program for > > the (IMHO) rare cases that we really need it, but IF there its not that hard to program, if you want just want to replace, previewing is a bit difficult, because your asking for a multi-doc preview (how?) ideally two external methods. one recurses through folders collect objects of a particular meta_type the second external method calls the first to get a collection of objects for a particular meta_type and performs string manipulations on the raw() representation of the method. kapil ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Search and replace
Martin Winkler wrote > I just wanted to express that this feature may be too hard to > program for > the (IMHO) rare cases that we really need it, but IF there I had understood that Python and Zope excelled at string manipulation. That's why I am surprised that it would be difficult to scan a folder full of documents to find a word and replace it with another (with the option of ignoring anything in pointed brackets). I'm not a programmer so I probably don't appreciate the complexities of the task, however in this case it seems like the object-oriented database is a hindrance rather than a help. If it was just a batch of html files I could search and replace through them with just about any piece of software on my desktop. I wouldn't know whether this is the sort of tool that is generally useful, but in my work I use search and replace all the time (if only to fix my endless confusion over 'its' and 'it's') Cheers Lee Hunter Hum Communications Ltd. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Problems using M18
This is known bug 59387 with mozilla. It is related to the usage of frames. http://bugzilla.mozilla.org/show_bug.cgi?id=59387 Troy -Original Message- From: Andreas Tille [mailto:[EMAIL PROTECTED]] Sent: Monday, November 20, 2000 8:06 AM To: Zope user list Subject: [Zope] Problems using M18 Hello, I just gived Mozilla M18 a try and noticed that Button of the browser doesn't work in zopüe management screen. Netscape 4.75 (and for sure other browsers) works well. Is this more a Mozilla or more a Zope problem. I expect the first but may be someone could write a more qualified bug report than me because I'm a bloody zope beginner and may be knowledge of some details might help the Mozilla developer. Kind regards Andreas. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] RE: ANNOUNCE Zope 2.2.3 release...
> How long before we end up with 2.2.4 a3 and 2.2.4 b1 with no-one really > knowing what's going on? > Taking what is effectively another point onto the version number doesn't > really help. I can only think of 2.1.7 that was withdrawn, and as long > as 2.2.4 comes along pretty swiftly, there shouldn't really be a > problem, should there? Well, some people perceive it to be problem (and I can't really blame them). What we _really_ need is some regression testing infrastructure. We have started taking some baby steps in that direction with the inclusion of PyUnit, but it will take some time and resources to get a meaningful amount of tests. Hopefully the recent Good Things happening here at DC will mean that the necessary resources will become available to make that happen. In the meantime, since Brian is a poor regression test rig, I plan to have a (generally very short - like a week) beta period for third-dot releases. One beta should usually do it, and it will allow at least for more coverage than I can easily contrive from my desktop as a sanity check. When the test infrastructure is more mature we could revisit this though. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Problems using M18
Andreas Tille wrote: > I just gived Mozilla M18 a try and noticed that Button of the > browser doesn't work in zopüe management screen. Netscape 4.75 (and Actually, that seems to be a problem with M18 and Frames in general. Sometimes it works, sometimes it doesn't. I'm guessing this is already in Bugzilla somewhere . . . You'd best search there first. :) -CJ ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Search and replace
At 14:59 20.11.2000, Lee Hunter wrote: >Maybe the manufacturers of Spam send your company a lawyer's letter saying >that use of the word 'Spam' on your website infringes on their trademark [...] Now I got it. Well, nobody expected a lawyer's letter or the Spanish Inquisition... But then, the s/r is getting really complex, since you also wrote about possible Squishdot discussions with the "bad" word. Maybe this s/r feature could be implemented in ZCatalog, so it would be possible to search in each and every ZCatalog-aware thing that we have on our website (not just dtml-docs and methods). On the other hand situations like these should not occur too often, so I personally would prefer the XML-Export, favourite-editor-semi-manual-replace and XML-Import again. I just wanted to express that this feature may be too hard to program for the (IMHO) rare cases that we really need it, but IF there are developers who'd like to implement such a nice s/r possibility, I'd be glad to install it - just in case lawyers, the Spanish Inquisition or Santa Claus are knocking at my door complaining that "spam", "witch" or "christmas" is trademarked by them :-) Martin ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Retrieving the week number from strftime()
Ok this is not the quickest of responses ;) I found an old thread about week numbers, where you suggested dividing the dayOfYear by 7 That only works if the year starts on the first day of week What surprised me is that the normal python method wasn't mentined anywhere in the thread I think simpler is: ZopeTime().strftime('%U') # Sunday as firtst day ZopeTime().strftime('%W') # Monday as firtst day Gives you current week as a two diggit number /Jacob Lundqvist torsdag 03 augusti 2000 04:21 skrev du: > I suspect there is no 'standard' definition of week number. > > E.g. if the year begins on a Wednesday, is the following Monday part > of week 1 or week 2? > > Once you decide, you can design a calculation starting with > "some_date_object.dayOfYear()" which will give you the day number in > the range 1 to 365 (or 366). > > The simplest algorithm would be to say days 1-7 are week 1, 8-14 > are week 2, etc. In that case > > ((some_date_object.dayOfYear() - 1) / 7) + 1 > > (or in dtml) > > > > will compute a week number (in the range 1 to 53). > > > If your weeks must begin on Sundays, or Mondays, or whatever, you'll > have to first request the dow() from the first day of the relevant > year, and do a calculation based on how far into the week the first > calendar day of the year falls. If you want help with that, > describe the algorithm you want to use. > > Good luck. > > Arjan Scherpenisse <[EMAIL PROTECTED]> writes: > > Hello, > > > > i want to retrieve the number of the week from a DateTime object. Is > > there any way to do this? I've looked through DateTime.py but i > > couldnt find anything usefull, is there some algorithm to get this? > > ___ > 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/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] how-to list all the zclasses constructors ?
Hello, I need to have a simple list choice for adding ZClasses instances instead of using manage_workspace (because the users are really *end* users and speaks french). We are using Yihaw and extending it with news Zclasses. So we have a Zclass, a my_addForm in french , my_add methods and a my_factory. All works fine when i call that directly from DTML giving the method name in **hard coding**, and works fine when i use manage_workspace (it propose all my new factories in the Add list but in english with zope interface). What i want is getting the list of factories (automatically) in my personnalized page (instead of hard coding it). I guess it should be simple to generate the list of constructors and proposing the associated methods, but i just can't figure how to do that ;-< Any tip and/or explanation would be welcome, and i'll summarize all that in an how-to (in complement of the Adding Zclasses instances programatically) Thanks in advance. -- Didier Georgieff DDAF du Bas-Rhin - Cellule SIG 2, rue des Mineurs 67070 Strasbourg Cedex tél : 03.88.25.20.33 - fax : 03.88.25.20.01 email : [EMAIL PROTECTED] SIT du Bas-Rhin : http://www.bas-rhin.sit.gouv.fr GéoWeb http://sertit10.u-strasbg.fr ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Problems using M18
Hello, I just gived Mozilla M18 a try and noticed that Button of the browser doesn't work in zopüe management screen. Netscape 4.75 (and for sure other browsers) works well. Is this more a Mozilla or more a Zope problem. I expect the first but may be someone could write a more qualified bug report than me because I'm a bloody zope beginner and may be knowledge of some details might help the Mozilla developer. Kind regards Andreas. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Search and replace
Martin Winkler wrote: > the object-oriented approach is great for not having > to search/replace > anymore. I really do not know any situation where s/r is > still needed. The > people who fill in content in our company have > ZClass-Interfaces, and they > only insert actual content. I understand the beauty of object oriented programming and that it also has some application for content and user interface elements. But what happens when the random, free form content that your users are inserting contains errors or has to be globally changed? Maybe the manufacturers of Spam send your company a lawyer's letter saying that use of the word 'Spam' on your website infringes on their trademark and your boss tells you to change every instance of 'Spam' to 'processed meat product' including all of your heavily trafficked Squishdot discussions, but not where Spam was used to refer to the Monty Python skit. What would you do in that situation? Would you have made the word 'Spam' a variable simply because it was used in more than one location? Regards Lee Hunter Hum Communications Ltd. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Search and replace
From: seb bacon [mailto:[EMAIL PROTECTED]] >I was about to add my voice to this thread, and say: > what's wrong with emacs s/r (or whatever your favourite ftp-aware > editor is)? >Then I had to do something like Max's example, across 12 different >docs, and changed my mind... >There's probably a sage snippet of knowledge to be gleaned from this, >but I'm not sure what it might be ;) Something like this perhaps? http://www.zope.org/Members/pje/Wikis/ZPatterns/InformationHiding ;-) max ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Search and replace
On Sun, 19 Nov 2000 15:03:46 -0500 you wrote: >Is there any way to do a 'search and replace' in a Zope folder (and it's >subfolders)? Ha! Funny you'd mention this in this way. I've thought that a search and replace could be used on www.zope.org to help force Zope documenters to use "it's" correctly by replacing each occurrence with "it is" in all documents. Think it'd work? --kyler ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Web mail with POP3
If all you need is POP3 mail, you might want to check out http://www.zope.org/Members/dshaw/POPMailProduct. Doug Aleksander Salwa wrote: > > I need to build a web mail product with pop3 back-end. > There is WorldPilot, but AFAIK it has no pop3 support. > I'm thinking about taking web inteface/application design from WorldPilot > and writing code to talk to pop3 server (probably based on POPMail > product). > > Is this a good approach, or someone already has wrote something like this > for Zope ? > > [EMAIL PROTECTED] > > /--\ > | `long long long' is too long for GCC | > \--/ > > ___ > 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/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Search and replace
From: Martin Winkler [mailto:[EMAIL PROTECTED]] >Another thought: If Zope would offer s/r, then a bunch of programmers >would stick in their bad behaviour _not_ implementing 's, because >"it's easy and effortless to replace everything from 'Copyright 2000' to >'Copyright 2001'". But think of it: Maybe this string is correct somewhere >and SHOULD stay the same. So s/r is at least inefficient, because you'd >have to check every file whether Zope should replace or not. try and do this correctly: The customer is: Search: "customer" Replace: "buyer" U ... can of worms 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] problem creating properties via python methods
Try moving your manage_addDTMLDocument: > > > > value=REQUEST['new_name'], type='text', REQUEST=REQUEST)"> > value=REQUEST['new_message'], type='text', REQUEST=REQUEST)"> > value=REQUEST['new_phone'], type='text', REQUEST=REQUEST)"> > > > cheers, Chris ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] get me in contact with others
Hi, In regard of the problem i stated last time(two persons can't access the page simultaneously with different login id's ). Is it possible to avoid Zope error which occurs & instead give our message ?. If you know anybody who are using Gadfly database kindly put me in contact with them. Thanks, jacintha. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] RE: ANNOUNCE Zope 2.2.3 release...
Brian Lloyd wrote: > > I think that is reasonable - in practice I have found that > many people tend not to upgrade until something is declared > "final", but your point is taken and a little feedback is > better than none. I'll make Monday's release 2.2.4 b1. Please! No! Don't go down the same route as ZPatterns... How long before we end up with 2.2.4 a3 and 2.2.4 b1 with no-one really knowing what's going on? Taking what is effectively another point onto the version number doesn't really help. I can only think of 2.1.7 that was withdrawn, and as long as 2.2.4 comes along pretty swiftly, there shouldn't really be a problem, should there? cheers, Chris ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] getitem problem
Matt wrote: > ^ Here's your problem. The string supplied to getitem() can't contain dots since it should be the id of a single object Given that you're passing a 1 as getitem's second attribute, the following is probably better code: or: cheers, Chris ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] snappier zope.org/how to make sites as snappy
At 02:28 20.11.2000, you wrote: >i've increased the cache numbers in Control_Panel. i've also increased the >thread numbers. i've moved graphics to be served by apache. not the best idea to serve graphics by apache. The setup in our company seems nice to me and looks like this: squid in http-accelerated mode - see the various squid-related HowTo's (listening on port 80 and sending requests to port 81) -> apache for ssl-functionality - configured as in Howto "Apache+ZServer+SSL" (listening on port 81 and on port 443 (ssl)) -> ZServer (listening on port 8080) BTW: we do not use the FTP-Server feature of Zope, since it sometimes kills all Zope servers - tested on 2 different machines with different flavours of Linux :-( Don't forget to tell squid that it can cache your pages a while (we use 1hour=3600secs): standard_html_header should start with something like this: bobobase_modification_time().toZone('GMT').rfc822())" >... (the dtml-source is from "Howto: Caching with mod_proxy", but Apache didn't work right for us: it stored broken images in its cache, so we use squid in front of apache as proxy, and apache for ssl-redirects.) the setup as described above works great for us: Zope (and PostgreSQL behind it) doesn't have much to do, since all graphics and html-outputs are stored in squid for 1 hour. (except with shift-reload, of course) Hope that helps, Martin PS: no line-breaks used here because of code samples. ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Search and replace
At 05:58 20.11.2000, Lee Hunter <[EMAIL PROTECTED]> wrote: > Isn't replacing text one of the most fundamental tasks when creating and > maintaining a web site or any other set of documents, for that matter? No, as far as I am concerned. Since I am using Zope (and trying to learn Java), the object-oriented approach is great for not having to search/replace anymore. I really do not know any situation where s/r is still needed. The people who fill in content in our company have ZClass-Interfaces, and they only insert actual content. Another thought: If Zope would offer s/r, then a bunch of programmers would stick in their bad behaviour _not_ implementing 's, because "it's easy and effortless to replace everything from 'Copyright 2000' to 'Copyright 2001'". But think of it: Maybe this string is correct somewhere and SHOULD stay the same. So s/r is at least inefficient, because you'd have to check every file whether Zope should replace or not. Just my 2c, Martin -- Sent through GMX FreeMail - http://www.gmx.net ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Re-2: [Zope] Search and replace
On 20 Nov 2000 [EMAIL PROTECTED] wrote: > Hello Stefan, > which replace product do you mean? > Arno http://www.zope.org/Members/cguardia/replace but be warned, it does NOT work with Zope 2.2.x (breaks your Folder.py) Stefan ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Search and replace
FWIW, there used to be the replace product that worked great for me with Zope 2.1.6. Pity I upgraded ;) Stefan ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] ZMailIn - alternatives?
Vince What specifically is the problem. As author of the ZMailIn Products prehaps I can help you solve your problem. -Andy >Hi Zope, > >I tried to install ZMailIn but due to several >x-envelope-to-header problems from different providers I think >it'll not become a viable way of getting articles into the >system. > >Is there any alternative to ZMailIn? > >Cheers, > >Vince > > ''' > ô¿ô > - ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Inserting LONGs with DCOracle
do something like: from DCOracle import * conn=Connect( "%s/%s@%s" % (user,pw,srv) ) h=conn.prepare("insert into table_x (x,y,z) values :p1, p2:, :p3") long_str = 'a'*8000 h.execute(1,2,long_str) assuming column z is declared as LONG hth peter. On Fri, 17 Nov 2000, Dorothea Kuehn wrote: :Hi, :If I try to insert an ca.5000 char string with DCOracle(1.3.2) into a LONG :column in Oracle (8i) I keep getting ORA-1704 'string literal too :long'-Errors. : :Ok, I read here :http://osi.oracle.com/~tkyte/Misc/LargeStrings.html :that it will work (a) with bind variables or (b) that I have to use :ODBC,OCI or alike. : :Questions: (a) Can I use bind variables with DCOracle? How? :(b) I thought DCOracle is using OCI, so why the heck this isn't working? :Any workarounds? : :thanks for help, :dekay : :___ :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/zope-announce : http://lists.zope.org/mailman/listinfo/zope-dev ) : -- _ peter sabaini, mailto: [EMAIL PROTECTED] - ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] The Calendar Tag
On Mon, 20 Nov 2000, Kaeidinejad, Shahram wrote: > How can give me more information about product "The Calendar Tag"? > Is may be to use "The Calendar Tag" with MS-Outlook? The CalendarTag's purpose is to render calendars in html (or dtml ;-) documents. The webmaster only has to code the rendering of one cell (day), and the CalendarTag does the rest. Since MS-Outlook isn't a web browser I doubt you can use it, however in a day cell you can do whatever you want, so maybe you can send mails whenever someone sees this day, and receive the mails in Outlook. Maybe someone else has got a better idea. bye, and good luck. Jerome Alet ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] The Calendar Tag
Hi, How can give me more information about product "The Calendar Tag"? Is may be to use "The Calendar Tag" with MS-Outlook? cu Shahram ___ 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/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )