Re: [Zope] ZWiki RecentChanges problem with 2.1.6

2000-05-18 Thread Chris Withers
Chris Withers wrote: [snip rubbish ;-)] This actually isn't the case, someone had just helpfully turned off 'Access Contents Information' higher up the tree... Doh! Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Chris Withers
Bill Anderson wrote: 2) Deleting a folder effectively removes everything under it (well, you [snip] catalog (leaving a nasty mess behind them...) Yeah, that can be annoying. Is there is any reason for it? Chris ___ Zope maillist - [EMAIL

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

2000-05-22 Thread Chris Withers
[EMAIL PROTECTED] wrote: Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know

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

2000-05-22 Thread Chris Withers
Jon Delheimer wrote: Checking the Z2.log file shows that Zope is returning a 500 status code (Internal Server Error) when the broken images appear. That's not good :( That means something is causing the requests to go astray. Can you see what the requested object is compared with the URL

Re: [Zope] Broken ZWiki

2000-05-22 Thread Chris Withers
Jason Cunliffe wrote: when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? ZWikiWeb Either see Evan's post or read: http://www.zope.org/Members/chrisw/ZWikiWeb/install ...particularly the bit about ZWikiWeb requiring ZWiki

Re: [Zope] Updating one data.fs from another

2000-05-23 Thread Chris Withers
I export a whole subtree from by Dev instance and import it into the production instance... HTH, Chris Graham Chiu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I do development on my site on my notebook, and then rather than overwriting my production data.fs, I then manually

Re: [Zope] does this app exist?

2000-05-23 Thread Chris Withers
Heiko Stoermer wrote: What I can tell you is this: if you develop a "ZScheduler" and it becomes part of the Zope Standard distribution, the Zope community will be VERY glad. ZScheduler already exists, it's just very buggy. Check the mail archives for 'ZScheduler' and have a look at:

[Zope] Zope Newbie Questions

2000-05-23 Thread Chris Withers
Hi Daniel, Resources I'd recommend: The Zope Documentation Portal - http://zdp.zope.org The Zope Site - http://www.zope.org The Zope Mailing List - [EMAIL PROTECTED] (see http://lists.zope.org/mailman/listinfo/zope for details) I've copied your questions to the zope list in the hope that

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Chris Withers
Andy Gates wrote: dtml-if action == "add" dtml-if "action=='add'" Been there, done that, learned the magic incantations ;-) The " " makes it into a python expression... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] dtml-in REQUEST

2000-05-23 Thread Chris Withers
try just plain dtml-var REQUEST That on it's own will probably give you what you want... Chris kwan wrote: I remember I saw somewhere about it. but I couldn't search it out again. Can anyone tell me the correct way to do things like following? dtml-in REQUEST dtlm-var

Re: [Zope] The agony of the ZOPE Documentation

2000-05-24 Thread Chris Withers
[EMAIL PROTECTED] wrote: I'm sorry, but I have to say, the ZOPE documentation, despite efforts to improve it, is absolutely, positively horrible. Not because the content isn't there, but because the tools to access it simply suck. Gotta agree with this :( Additionally, the zdp web site is

Re: [Zope] Importing a 2.1 .zexp file into 2.2

2000-05-24 Thread Chris Withers
Kevin Dangoor wrote: STRONGError Type: InvalidObjectReference/STRONGBR STRONGError Value: Attempt to store a wrapped persistent object/STRONGBR Apparently storing a wrapped object is a security hole, I bumped into a post about it in the collector after searching for ZCatalog... So,

Re: [Zope] Reloading products

2000-05-24 Thread Chris Withers
Seb Bacon wrote: (n.b. is there any way of reloading a product without the tedium of stopping and starting zope?) There is a very-alpha product for doing this floating around on the zope-dev list. check the archives... Chris ___ Zope maillist -

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Paul Everitt wrote: Howdy gang. Below is an announcement that we'll start distributing over the next 24 hours. I wanted to let you folks see it first. In summary: Perl Methods. Why is this a good thing? ;-) Chris ___ Zope maillist - [EMAIL

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Budi Wiyono wrote: Agreed... We can use COM, CORBA, SOAP, etc. On the other hand, we'll likely do even more things like this over the year: open up to COM, CORBA, etc. as method facilities. --Paul Now ya talkin :-) bring it on... Chris

Re: [Zope] syndication??

2000-05-25 Thread Chris Withers
Webmaster wrote: The concept is simple enough, but I just don't know how I could do the same thing in Zope. I am setting up a system where daily articles can be entered weeks in advance and will only appear on the web site when the date matches their "go live date" (easy). But I would also

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Chris McDonough wrote: This is pretty silly. Very soon we'll be forced, 'cause most Products will be in Perl (yse, I've read the FAQ and saw "no Perl Products"; it's temporary, mark you). I have to say, I'm not convinced it is. Providing Perl methods is like drilling a hole

Re: [Zope] Re: ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Brad Clements wrote: [snip story about DC peddling drugs... *joke*] Yeah, fair point, but what if it goes the other way... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Chris Withers
Andrew Kenneth Milton wrote: I find the whole 'perl will pollute us' mentality quite disappointing, it's worse than a bunch of school girls arguing over which all boy band is best. You never seen blokes arguing over which girl band is best ;-) I agree though since it's a moot point anyway.

Re: [Zope] Zope Email (syndication)

2000-05-25 Thread Chris Withers
"Dan L. Pierson" wrote: The perfect solution involves a mailing list server integrated with Zope, e.g. ZMailman. This would probably also provide mailing list archives integrated with Zope and ZCatalog and easy integration of mailing list and PTK/Squishdot discussion traffic. This has been

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

2000-05-25 Thread Chris Withers
[EMAIL PROTECTED] wrote: From the python int doc string: print int.__doc__ int(x) - integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero. I _always_ get bitten by this :( Sorry for my igorance, Chris

Re: [Zope] Perl Zope

2000-05-28 Thread Chris Withers
Paul Everitt wrote: You're absolutely right on this. Amos' post recently described the various things in various stages of release that should give some hope for the situation. These things really are an improvement. I'm crossing my fingers that this turns into a torrent of material that

Re: [Zope] Zope Email (syndication)

2000-05-28 Thread Chris Withers
mindlace wrote: I don't quite see why MailHost isn't "low level integration" Does MailHost do recieves as well as sends? My dream would be for Zope to pipe an email address to a specific object/method without the need for any external mail servers or scripts... Making Zope an MTA

Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Chris Withers
Kevin Dangoor wrote: Or, how about a dtml-expr tag (which could even start out as a simple synonym for dtml-var) so that people won't be confused about what is python and what is a variable lookup with the special calling properties. This is a great idea :-) New

Re: [Zope] Traceback?

2000-05-29 Thread Chris Withers
Martijn Pieters wrote: If you switch debug mode off, tracebacks will be included in error messages as HTML comments, thus rendering them invisible from the unsuspecting site visitor. Is that true even if you override standard_error_message? cheers, Chris

Re: [Zope] Deprecation of dtml-var ?

2000-05-29 Thread Chris Withers
Paul Everitt wrote: Shorthand notations are convenient, but when they get inconsistent, you wind up with the other P language. :^) Woudl that be the one we're welcoming into the fold? ;-) Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Traceback? Codechange!

2000-05-29 Thread Chris Withers
Martijn Pieters wrote: Do I have to copy this message to the collector and wait for a couple of months or can we do it instantly? ;-) Do you still experience the Collector as black hole? Could you report this to Tres Seaver, the person currently monitoring the COllector and cleaning it

Re: [Zope] Wiki change notification

2000-05-29 Thread Chris Withers
Shane Hathaway wrote: [snip wiki change notification] What's does NetMind actually do? The problem I see here is getting an email everytime someone hits update, which can mean you get a storm of emails when a coupla people edit a Wiki. I thought of a Zope-based solution for this but haven't

Re: [Zope] Wiki change notification

2000-05-29 Thread Chris Withers
Shane Hathaway wrote: Heh heh... that's almost exactly what NetMind does, Chris. g Cool... I'm guessing it's not written in Zope though... ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Chris Withers
The python expression syntax strikes again :( Tom Scheidt wrote: dtml-if "date1 == 'dtml-var ZopeTime fmt=Day'" You're trying to embed DTML within python here. you really want (untested): dtml-if "date1 == _DateTime.now().Day()" cheers, Chris

Re: [Zope] delete dictionary

2000-05-30 Thread Chris Withers
"urs.beyeler" wrote: dtml-call "REQUEST.set('Wednesday',{'titel' : 'how to do that?'})" ... and a bit later in the document i need to delete them again ... how can i do that? no one of my DELETE-experiments worked ... thnx.urs Try the following (untested): dtml-call "del

Re: [Zope] Zope 2.0.1 export

2000-05-30 Thread Chris Withers
Paul Gresham wrote: Hi, I have an old linux system running a document store I wrote some time ago in Zope 2.0.1. I've tried exporting my document store but cannot seem to get it re-imported into the latest version of Zope. I can ftp the documents out, but of course lose all the information

Re: [Zope] Working with ZopeTime

2000-05-30 Thread Chris Withers
Shane Hathaway wrote: Close but no brownies for you. :-) Make that... dtml-if "date1 == _.DateTime().Day()" Ack, a genuine typo... I'm going home to sulk ;( Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Squishdot 0.4.0 and Zope 2.2

2000-05-31 Thread Chris Withers
Cary O'Brien wrote: [snip Squishdot 0.4.0 doesn't work with Zope 2.2] Give up, traceback below. I guess it doesn't then :( I suspect there will need to be a 0.4.3 (maybe 0.5.0) release that works with Zope 2.2. However I'll probably use the new traversal interface for it so it won't work

Re: [Zope] KeyError since installing Squishdot 0.4.0

2000-06-01 Thread Chris Withers
On Thu, 1 Jun 2000, David Trudgett wrote: Since I installed Squishdot 0.4.0 (yesterday) on Zope 2.1.6 (under Red Hat Linux) I've been getting KeyErrors when clicking on an article's topic image, which uses an URL like this:

Re: [Zope] Current date in DTML

2000-06-06 Thread Chris Withers
Ivan Raikov wrote: How can I get the current date time (preferably as a DateTime.DateTime object) in DTML? I cannot instantiate a DateTime dtml-var ZopeTime or dtml-var "_.DateTime()" cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] zope:change strings on place

2000-06-06 Thread Chris Withers
Vincent Maton wrote: I receive : 2000-04-13 I want : 13-04-2000 dtml-var "_.DateTime(date)" fmt="%d-%m-%Y" or: 13 april 2000 (this one is better but ???) dtml-var "_.DateTime(date)" fmt="%d %B %Y" Try dtml-var "_.DateTime(date)" fmt="%x" ...as well cheers, Chris

[Zope] fmt weirdness

2000-06-06 Thread Chris Withers
dtml-var "_.DateTime()" fmt="%d %B %Y" ...works fine dtml-var "_.DateTime()" fmt='%d %B %Y' ...barfs with a 'Document Template Parse Error': Invalid attribute name, "%B", for tag dtml-var "_.DateTime()" fmt='%d %B %Y', on line 5 of index_html weird huh? ideas anyone? cheers, Chris

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

2000-06-06 Thread Chris Withers
Paul Browning wrote: ZWN-2000-06-01 says: "Itamar Shtull-Trauring and Chris Withers tracked down a problem with image caching that affected certain versions of Netscape browsers." http://classic.zope.org:8080/Collector/1270/view chee

Re: [Zope] stupid question I guess

2000-06-07 Thread Chris Withers
josh on wrote: can I set a local variable in zope on a dtml page dtml-var variablename = 1 Yup: dtml-call "REQUEST.set('variablename',1)" Nice syntax, huh? ;-) Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] How to catch URL in DTMLDocuments/Methods

2000-06-07 Thread Chris Withers
Evan Simpson wrote: 3. Use a SiteAccess Access Rule on the folder, having it check to see if the next object to be traversed is your DTMLMethod. If so (and if the next name doesn't start with 'manage'!) remove the rest of the traversal path and store it in a REQUEST variable. Not too bad,

Re: [Zope] WebObjects

2000-06-07 Thread Chris Withers
Michael Bernstein wrote: As I recall (from a WebObjects demonstartion I sat through a long time ago), WO creates the most godawful mangled URLs that I had ever seen. As a result, a WO site cannot be spidered by search engines, or converted to a static copy using wget. Zope's not too hot on

Re: [Zope] Newbie Question,

2000-06-07 Thread Chris Withers
CURTIS David wrote: I wish to use use the date of a database file in my dynamic html code. For example, this database was last updated on 06/06/2000. I suppose that there must be a dynamic html tag that zope uses. What could it be? I looked at all the documentation and have yet to

[Zope] Zope URLS (was re: WebObjects)

2000-06-08 Thread Chris Withers
Gregor Hoffleit wrote: Regarding wget: AFAICS, the problem is that traditionally in a static web server, if you try to access a URL like 'http://host/xyz' (without trailing slash), the server will return you an error '301 Moved permanently' and will point you to the new location

[Zope] Zope URLS

2000-06-08 Thread Chris Withers
Rik Hoekstra wrote: so what is the use of the /? Couldn't all Zope URLs end without a /? I'm afraid this is the whole problem and it's caused by relative urls. Say you're at http://host/x/y where y is a container that renders index_html to be displayed, and in that index_html you haev a ref:

[Zope] Re: ZSQL Bug in 2.1.6 [patch]

2000-06-08 Thread Chris Withers
Phill, The zope list ([EMAIL PROTECTED]) is great for this sort of question ;-) Phill Hugo wrote: Sorry to bother you. I've a quick question regarding acqusition in ZSQL methods. When I pass args the method ignores the REQUEST stuff unless I specify it in the args list. Is there a way to

Re: [Zope] Plea: sequence-item and sequence_item in 2.2?

2000-06-08 Thread Chris Withers
Tony McDonald wrote: Can I make a plea that the .diff patch that Jonothan Farr posted a while back be included into the 2.2 release? http://www.zope.org/Members/jfarr/Patches/dtml-in-sv Pretty Please :-) Chris ___ Zope maillist - [EMAIL

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
Martijn Pieters wrote: You probably did a 'HEAD' request, at which point Zope doesn't render the page, but rather only acknowledges it's existence by returning above (bogus) response. That's not very search engine friendly :( The head should return the same type as the real document otherwise

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
Martijn Pieters wrote: But what if there are side effects to calling the document? What should happen? I don't want a counter to go up or anything just because a HEAD was called on the object. This is not as black-and-white and simple an issue. The web is an imperfect medium, but returning

Re: [Zope] Wrong mime type sent by Zope on every page

2000-06-08 Thread Chris Withers
Brian Lloyd wrote: What if we change this to: if a 'content_type' attribute exists, it is used else if the object's id seems to have a file extension (. in the id), try to use guess_content_type else if there is a 'default_content_type' attribute, use that It would be

[Zope] Guide to writing a Python Product for Zope?

2000-06-08 Thread Chris Withers
"Dan L. Pierson" wrote: Sounds pretty good. Setting 'default_content_type' can then be another item in the unwritten Guide to Writing a Zope Product. Well, hopefully this will actually get written sometime and we can all stop scratching our heads everytime we want to know how to do something.

[Zope] Announce: Squishdot 0.4.1 Released

2000-06-09 Thread Chris Withers
Squishdot 0.4.1 is now available from http://www.zope.org/Members/chrisw/Squishdot/ The following major changes were made: - You can now use things like 'site_header' and 'site_footer' in 'showMessage' and 'showError'. - Security has been tightened and a new set of roles introduced. -

Re: [Zope] All ZSchedule archives on zope.org broken ! (Was: Re: [Zope] ZScheduler-0.0.5 problem)

2000-06-19 Thread Chris Withers
Holger Lehmann wrote: I attempted the same and had the same fate. *All* archives you try to donwload from http://www.zope.org/Members/lstaffor/ZScheduler are truncated (!) to 20480 There is a Wiki for ZScheduler which has a FAQ that covers this. Apparently Loren's tar program puts a load of

Re: [Zope] scared

2000-06-20 Thread Chris Withers
josh on wrote: Would it be a bad idea to just install another copy of zope in a different directory? Would that clash somehow? Maybe, but not in any bad way, the worst I can see happenign is that they try and get the same ports on your machine. Just run up one instance at a tiem to make sure

Re: [Zope] Generating products that perform a smart clone of a master site?

2000-06-27 Thread Chris Withers
Hamish Lawson wrote: I envisaged turning a tutor's site into a product that could be instantiated. Hi Hamish, I'd suggest downloading the ZWikiWeb product from: http://www.zope.org/Members/chrisw/ZWikiWeb It does pretty much exactly what you're talking about. It's doesn't take very long to

Re: [Zope] Can't override standard_error_message on NotFound?

2000-06-27 Thread Chris Withers
"R. David Murray" wrote: On Mon, 26 Jun 2000, matt wrote: I'm having some problems with standard_error_message on 2.2.0b2. According to the mailing list archives I should be able to override NotFound errors (I even cut-n-pasted http://www.zope.org/standard_error_message/view_source into my

Re: [Zope] tree problem, addendum

2000-06-28 Thread Chris Withers
"Walter A. Aprile" wrote: It appears I have messed up the Id propery, but I do not know how. If you could send the code for the Article class to the list, maybe someone can spot what's going on... cheers, Chris ___ Zope maillist - [EMAIL

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-28 Thread Chris Withers
Scott Parish wrote: I'm not entirely clear how asking the object to delete itself in this case is going to improve the situation over just asking the rack to, but I think that was the intent. Okay, I see the intent now too, but I agree with you that I can't see what advantage asking the

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-29 Thread Chris Withers
Bill Anderson wrote: What happens when the object is in multiple racks? (Assuming it is possible) Then it'll be missing if something tries to get it from a rack. The same thing as would happen if something tried to get it from a single rack after it'd been deleted. So this case should be

Re: [Zope] ZPatterns: Deleting objects from a Rack?

2000-06-29 Thread Chris Withers
Scott Parish wrote: Another thought i just had was that if you deleted by placing a call to the Rack, then you couldn't allow the class to override manage_delete. You might want to do such (overriding) if you wanted it to clean up a catalog or perform some other auxiliary function before

[Zope] Re: Zope won't let me call aq_parent in ZWiki?

2000-06-29 Thread Chris Withers
Hi Curtis, Sorry for the late reply, I've been on holiday :S Curtis Matthews wrote: I've just recently noticed I'm not able to call the JumpSearch and RecentChanges methods in the Basic ZWiki because I'm not authorized to call a method called aq_parent. Has anyone else had this problem,

Re: [Zope] Passing Parameter without ?

2000-06-29 Thread Chris Withers
saif wrote: eg:- www.localhost.com/para1/para2 I'm planning a product for Zope 2.2 that will do just this sort of thing... If you can bear with me, it might well be worth the wait :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZCatalog Search Q

2000-06-30 Thread Chris Withers
Leonard Chan wrote: I'd like to include some attributes from the actual objects (maybe by accessing the actual object via id, etc?) in the result list. You can get the actual object with: Catalog.getobject(data_record_id_) inside your dtml-in loop. This is supposedly a 'bad' thing to do but

[Zope] Alternative Rendering (was Re: [Zope] Messing with the namespaces stack)

2000-06-30 Thread Chris Withers
Jim Hebert wrote: Uh oh, careful, I'm encouragable and you'll really have a monster on your hands. ;-) ego stroke I like the way you think, lots of good will come of it.. ;-) /ego stroke I am bucking a trend, I am starting to realize. Big time! The assumption seems to be that any given page

Re: [Zope] ZCatalog Search Q

2000-06-30 Thread Chris Withers
Leonard Chan wrote: This is supposedly a 'bad' thing to do but there's nothing better right now... Why is this a 'bad' thing? 'Cause it requires loading the whole object? Nope, 'cos it doesn't work with anything that plays with traversal, like SiteAccess. Something better should be coming

Re: [Zope] SQL method: Trying to be too clever?

2000-06-30 Thread Chris Withers
Andy, An error message / traceback would be useful ;-) Rik Hoekstra wrote: insert into related (rootstory, dtml-sqlvar field) in that case you just want a dtml-var field (you not passing it as sql query values) Nope, the dtml-sqlvar field is for quoting use in SQL statements, kindof like

[Zope] Every user should have the Anonymous role everywhere (was :Re: [Zope]Authentication, Anonymous and Public)Authentication, Anonymous and Public)

2000-07-01 Thread Chris Withers
Dieter Maurer wrote: In Zope, each user has a set of roles. Any user has the "Anonymous" role. Log-in users may have additional roles. I'm not convinced this is true... Quoting from the LoginManager CHANGES.TXT file: Generic User Source, like the GenericUserFolder product it was inspired

Re: [Zope] Re: Every user should have the Anonymous role everywhere (was :Re: [Zope] Authentication, Anonymous and Public)

2000-07-03 Thread Chris Withers
Dieter Maurer wrote: In Zope, each user has a set of roles. Any user has the "Anonymous" role. Log-in users may have additional roles. I'm not convinced this is true... The Content Manager Guide (Security, Authorization) states it this way: The "Anonymous" role, which

[Zope] Comments on 2.2 Help System

2000-07-03 Thread Chris Withers
Apart from the 'Wow! Zope has Help!' comment: The API documentation is very useful. How do we feedback about it? (eg: why is there PropertySheet and PropertySheets?) When will it be complete? How do we submit docs to appear in it? What is the moderation process like? Sadly, the rest of the

Re: [Zope] Authentication, Anonymous and Public

2000-07-04 Thread Chris Withers
Dieter Maurer wrote: A user that does not log in, i.e. a user you know nothing of, gets the "Anonymous" role automatically (at least with "acl_users"). A logged in user may not get the "Anonymous" role. This does not provide additional security, because this user may simply shut down his

Re: [Zope] Re: Every user should have the Anonymous role everywhere(was :Re: [Zope] Authentication, Anonymous and Public)

2000-07-05 Thread Chris Withers
Stuart Bishop wrote: or in BasicUserFolder. Either way it should go in the collector. Issue 1391, or in a slightly different phrasing, Issue 467 cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] the dtml-calendar

2000-07-05 Thread Chris Withers
I'm downloaded the dtml-calendar with the tar.qz. My unzip asks me what to change the qz to before it will unzip, and i dont know what to change it to. i tried .doc, .zexp, and left it blank. if u know what it is, tell me. Try .tar.gz That should make WinZip happy ;-) Chris

Re: [Zope] SquishDot properties

2000-07-06 Thread Chris Withers
tom smith wrote: I'd like to add a URL property to a Squishdot article (and remove the "dept" property), is this possible and how would I do it? The 'proper' response would be 'no'. The hacky response is, just store the URL in the 'dept' property ;-) Adjust your forms slightly (so they say

[Zope] Re: [squishdot] Re: Squishdot giving error DateTimeError?newbie

2000-07-07 Thread Chris Withers
[EMAIL PROTECTED] wrote: I am on zope 2.1.6 In some post i saw that timezone can be changed. My timezone is India GMT+530. I was looking through the DateTime.py code where the timezones are listed. it is now giving Error:DateTimeError ErrorValue:UnrecognisedTimeZone

Re: [Zope] strange catalog problem

2000-07-08 Thread Chris Withers
Hi Ed, What version of Zope are you using? If it's 2.1.6 or earlier, have you patched ZCatalog? IIRC, it's slightly broken and causes exactly the same kind of problems as this... http://www.zope.org/Members/chrisw/Squishdot has a link to the fix for this problem on it (somewhere ;-) cheers,

Re: [Zope] Newbie questions: Job_board Howto, ZCatalog, Squishdot

2000-07-10 Thread Chris Withers
Meeting Maker Webmaster wrote: One last question ;-) I've seen in this mailing list that Squishdot will not work with Zope 2.2.0 until version 0.4.4... when is this version planed? I've tried to install Squisdot on the Zope 2.2.0b3 server and I get the same problem as with my "Job_Board"

[Zope] Rendering Folderish ZClass Object

2000-07-10 Thread Chris Withers
Hi, I have a ZClass based on Folder. Contained within this is a DTML Method, index_html. This is mapped to the 'View' view and renders the appropriate object contained in itself depending on soem logic. All, is well if I access the object through a URL, the page is rendered as expected.

[Zope] DTML?

2000-07-10 Thread Chris Withers
Brian Lloyd wrote: snip id is sometimes a method (not always though ;-) This is one of the things on my List Of Evil Things that should be changed one day in Zope3K :) RANT type="angry,frustrated" How about the nasty hacky mess that is DTML? Some priceless artifacts that need to go:

Re: [Zope] ZWiki/Structured Text formatting surprise

2000-07-10 Thread Chris Withers
Jim Fulton wrote: I suggest that, since this appeared in a code snippit to begin with, it should have been written as: blah blah '(_.None,_,foo)' blah blah I don't format my code like that ;-) Note that the StructuredText underlining feature is widely considered a missfeature and

Re: [Zope] DTML?

2000-07-10 Thread Chris Withers
Shane Hathaway wrote: The idea of making an XML compliant DTML has been tossed around before. It would remove the difference between dtml-var x and dtml-var "x", since XML allows neither syntax. :-) I'm not too hot on XML compliancy, but if it makes the problems I mentioned go away, then

Re: [Zope] MessageDialog

2000-07-11 Thread Chris Withers
Andy McKay wrote: The MessageDialog is cool, but a little sparse, has anyone tried overriding it with their own or fiddling with it? Im looking at including standard header and footer in it and not gotten very far. Butch did this in Squishdot, one of the changes I made for 0.4.1 was to let

Re: [Zope] HEELLPP - Please !!!

2000-07-11 Thread Chris Withers
Daniel Rusch wrote: I think this line: where users.user_login=dtml-sqlvar name=login type=string Should be: where users.user_login=dtml-sqlvar login type=string --- no name= I'm sure that shouldn't make a difference Is this another example of DTML being sucky? ;-) Chris

Re: [Zope] DTML?

2000-07-11 Thread Chris Withers
Tino Wildenhain wrote: I want that too. When we are over it, how about replacing (or at least aliasing) these - variables to _ ? sequence-item, sequence-index etc. comes to mind. Yes indeed! :-) IF you've got a patch that will do this, please mail it to me and stick it in the collector...

Re: [Zope] MessageDialog

2000-07-11 Thread Chris Withers
Andy McKay wrote: A thanks Chris. I had noticed that and was trying to see if I could do without using REQUEST. I couldnt so I went and changed all the calls to my class *sigh*. Thanks mate. Sadly REQUEST and the client are always necessary. If you want to call your MessageDialog from

Re: [Zope] Fetching data from external methods

2000-07-12 Thread Chris Withers
Jarkko Veijalainen wrote: in fact only problem here is how i return values from external method like obj.value1 , obj.value2 into zope and use them in dtml or/and in Zclass instances. in external method: return (obj1, obj2,) in DTML: dtml-in

Re: [Zope] Fetching data from external methods

2000-07-12 Thread Chris Withers
Jarkko Veijalainen wrote: My method outputs are: res = (contains search result using forms input values) sn = res.sn (one of the values in res-object) return sn ^ that should be 'return res' ...then the following will work:

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread Chris Withers
[EMAIL PROTECTED] wrote: Replace it with this: tr a href="!--#var "catalog.getpath(data_record_id_)"--" !--#var title-- /a /tr What is the id of your catalog object? replace 'catalog' with that id. I'm guessing you should

[Zope] Zope Resources ;-)

2000-07-12 Thread Chris Withers
Jonathan Desp wrote: How I can make a regular backup ? make a copy of data.fs _before_ it gets corrupted. How I can restore it ? copy your backed up data.fs over your corrupted data.fs it's 100% corrupted. I doubt that very much. Do you have any tools for analyse a data.fs ? (not

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread Chris Withers
[EMAIL PROTECTED] wrote: my catalog ID is full_site, but I already tried this and got another error. What was this error? (please include the full traceback..) When I leave out the link syntax changes, I get the search results (w/o them as active links)...so the catalog term must be

Re: [Zope] how to check if the ResultSet is null?

2000-07-13 Thread Chris Withers
You could always do something like this first: "select Count(usr_email) from info(table name) where usr_email = dtml-sqlvar usr_email type=string" Then check the result will be either 1 or 0. That's asking for trouble 'cos Zope ain't gonna like an id such as 'Count(usr_email)', it's a great

Re: [Zope] simple instructions for site search

2000-07-13 Thread Chris Withers
ethan mindlace fremen wrote: You want the ZCatalog Howto: http://www.zope.org/Documentation/How-To/ZCatalogTutorial Do catalogs search otehr catalogs they find? Only asking 'cos I don't think that'll help him search his whole site as the Squishdot postings won't get searched. But, if the

Re: [Zope] Collector Product?

2000-07-13 Thread Chris Withers
You check out the Tracker, the replacement for the Collector, rom the CVS... cheers, Chris Satheesh Babu wrote: DC folks, Any plans of making the Collector (bugs/requests etc) as a downloadable product? ~ V.Satheesh Babu [EMAIL PROTECTED] . . http://vsbabu.csoft.net/

Re: [Zope] Hot fix and 2.20

2000-07-15 Thread Chris Withers
I think so... Chris michael montagne wrote: Do I have this right? I do not have to install the hot fix if I just installed the recently released version 2.2.0 final. correct? -mjm Name:

Re: [Zope] Cannot install PTK

2000-07-15 Thread Chris Withers
Mario Premke wrote: I installed Zope2.2.0 and downloaded PTK0.7.1, installed it, restarted Zope and then tried to import I think the 0.7.1 snapshot release is a little out of date ;-) Check the latest version out of the CVS or try Kevin Dangoor's much more recent snapshot:

Re: [Zope] sending namespace to the frames?

2000-07-15 Thread Chris Withers
danchik wrote: if I submit a form to some page that has frames, how do I pass the REQUEST namespace to those frames You can't, I think you need to look into the way frames work more carefully or word your question differently. Also, please don't post to both [EMAIL PROTECTED] and

Re: [Zope] ZStylesheet

2000-07-16 Thread Chris Withers
Neil Burnett wrote: Well, I am going to give up with CSS. I am sure ZStylesheet is a fine product, its just that CSS implementations lets it down. I find the following page really useful: http://webreview.com/wr/pub/guides/style/mastergrid.html It lists exactly what does and doesn't work in

[Zope] Re: Zope 2.2.0 Startup

2000-07-16 Thread Chris Withers
Indra Gunawan wrote: I've just install Zope 2.2.0 from 2.1.6 but when I run the start.bat it seems the startup process took a very2 long time compared to the usual, is it normal? I don't know... Maybe the patch to the port checking algorithm never made it into the 2.2 code:

[Zope] Off Topic... ;-)

2000-07-16 Thread Chris Withers
I saw this in someone's sig. and thought of Zope: "The more I learn, the more I realize I don't know, and the more I realize I don't know, the more I want to learn." --Einstein ;-) Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] MetaPublisher DB - was linuxworld article

2000-07-16 Thread Chris Withers
Mark Pratt wrote: Sorry if that's a dumb question ;-) no, it`s not a dumb question. MetaPublisher is open source. Written in Zope? Where can I find out more? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Re: Folderish objects and that BASE tag...

2000-07-17 Thread Chris Withers
Oleg Broytmann wrote: Documents/Methods aren't, m? Yes they are... http://site/com/folder/object may now look like a folder to you, but what if you want to excecute a method on a folder? It becomes: http://site/com/folder/object/method So, in effect, object should be treated as a

  1   2   3   4   5   6   7   8   9   10   >