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

2000-05-22 Thread john
Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... If you hit reload it breaks the images on the root level, if you put your cursor in the Location, or URL field and hit enter it reloads fine. I truly don't understand this problem and it only

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

2000-05-22 Thread john
Shane, Nope the console is not visible, couldn't even log in. j At 02:23 PM 5/22/00 -0400, you wrote: John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible

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

2000-05-23 Thread john
You Rock Dieter, Thanks to everyone for their input! This has solved the nasty Netscape Image problem for now! j [EMAIL PROTECTED] At 09:05 PM 5/23/00 +0200, you wrote: Jon Delheimer writes: charset="iso-8859-1" Shane, I made the changes you suggested to Image.py. Here

[Zope] Searching TinyTable Data

2000-06-13 Thread john
Is there anyway to use ZCatalog, or any other method to preform a search on TinyTable data? thanks in advance! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] Zclass inheritence

2000-05-21 Thread John Morton
What does a product need to do in order to be a base class for a ZClass? Can another Zclass act as a base class for a ZClass? If not, why not? John ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

[Zope] Re[2]: [Zope] Deleting folder-like objects.

2000-05-22 Thread John Morton
it to the collector as soon as I can research a potential patch. John ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo

Re: [Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation

2000-05-25 Thread John Chandler
fast Zope seems to have come in such a short time. In the worst case, maybe O'Reilly would consider an extra chapter to, say, a third edition of the excellent "Webmaster in a Nutshell"? John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread John Chandler
reasons, personal preference won't be accepted by the others I can safely say. Eh Chris? ;-) John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS in the pocket

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread John Chandler
at matches the Zope philosophy. It's not worth arguing about, we're all united by Zope aren't we? John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS in

Re: [Zope] ANN: Perl For Zope

2000-05-26 Thread John Chandler
and end up charging into Zope the wrong way. John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS in the pocket ] The opinions above aren't

RE: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed

2000-05-26 Thread John Chandler
its from the start and have trained your mind not to abuse the darker side of C. When people ask me what's a good language to learn programming with, something like Python or Pascal is usually my first answer, C isn't even though it may be in more widespread use than Pascal. *phew* And some p

RE: [Zope] Controlling HTTP_REFERER

2000-05-26 Thread John Hile
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shane Hathaway Sent: Friday, May 26, 2000 9:19 AM To: John Hile Cc: zope-admin Subject: Re: [Zope] Controlling HTTP_REFERER John Hile wrote: Can anybody suggest a good technique

Re: [Zope] file upload

2000-05-30 Thread John Chandler
this ? Yep, in fact I'm playing with this right this moment. You'll want the excellent LocalFS product from Jonothan Farr which is available from: http://www.zope.org/Members/jfarr/Products/LocalFS John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux

Re: [Zope] test

2000-05-31 Thread John Chandler
if it is dead of just everybody went on vacations? :) :-) I think the list had some downtime for assorted reasons. Looks like it's back up again now... though if you don't read this then it's back down again ;-) John -- John Chandler / Software Developer / New Information Paradigms Ltd

Re: [Zope] IRC Chat redux

2000-05-31 Thread John Chandler
The chat with Jim Fulton and Paul Everitt will happen at 13:00 EST/08:00 GMT, tomorrow, Wednesday the 31st. Out of interest, will the session be logged? Would be good to have even an edited copy of the session available for those who can't make it. John -- John Chandler / Software

RE: [Zope] Help needed for a new zope fan!

2000-06-05 Thread John Hile
Try http://localhost:8080/manage -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jilani Khaldi Sent: Monday, June 05, 2000 2:02 PM To: Zope ML Subject: [Zope] Help needed for a new zope fan! Hi, I have just installed Zope on Linux, Windows

[Zope] permissions problem instantiating objects in 2.2b2?

2000-06-23 Thread John Kinsella
ows: dtml-with "manage_addProduct['test']" dtml-call "testClass_add(_.None, _, NoRedir=1)" /dtml-with When I go to view that method, that's when i see the "authorization failed" stuff. Any ideas what's up? John ___ Zope maillist -

[Zope] DTML method to add a folder and put image inside

2000-07-07 Thread John Verzani
e folder id that the subsequent manaage_add* would add to the newly created folder. I know I'm on the right track for when I hardcode the folder name (replace REQUEST['id'] with a string) what I want to do works. Thanks for any help. -- ..

Re: [Zope] how to stress test a zope site?

2000-07-11 Thread John Kinsella
stuff that Mercury Interactive has. John On Tue, Jul 11, 2000 at 10:52:54AM -0700, Demos Economacos wrote: All, Is there a way that I can run a stress test on a Zope site running ZServer? I am trying to do some capacity planning and trying to determine how the sustained hit count before

[Zope] ColdFusion-Zope converter

2000-07-17 Thread John Leach
Anyone have one of these ? (or tips on writing such a thing?) John Leach http://www.bosware.com.au ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

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

2000-07-26 Thread John Chandler
+1 == agree +/-0 == no strong opinion -1 == disagree +1 (If anyone *does* have an objection, they'd better get in quick before it's too late!) ;-) John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home

[Zope] Splitting ZSQL results across pages

2000-08-10 Thread John Morton
I'd like to split the output of a ZSQL query across different instances of a page in the same fashion as zope.org does with ZCatalog output, but I can't for the life of me find any documentation on how it's done. Does anyone know the magic incarntations or where the documents are? Thanks, John

Re: [Zope] Checking for broken Hyerlinks

2000-08-10 Thread John Chandler
/StandardErrorMessage The downside is that it only reports broken links as they are used by visitors, and doesn't check external sites. Hope the above helps. John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS in the pocket

Re: [Zope] Checking for broken Hyerlinks

2000-08-10 Thread John Chandler
to this, you might want to take a look at ht//Check by Gabriele Bartolini. It's available from Freshmeat.net: http://freshmeat.net/redir/homepage/963506357 Which seems to be a pretty comprehensive link checker suite. John -- John Chandler / Software Developer / New Information Paradigms Ltd

[Zope] Newbie - Zope won't start

2000-09-15 Thread John VanDyk
I downloaded and installed Zope for Linux as per the instructions at zope.org. When I try to start Zope with ./start I get a report that it has started up on ports 8080, 8021, and 8099. Then I get this: Traceback (innermost last): File "/usr/zope/Zope-2.2.1-linux2-x86/z2.py", line 708, in

Re: [Zope] WorldPilot has the bits...

2000-09-26 Thread John Chandler
of the software you can as it might be fixed now. John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS in the pocket ] The opinions above aren't

Re: [Zope] WorldPilot has the bits...

2000-09-27 Thread John Chandler
have got it to synch memos, todos and addresses with no problem. The calendar entries get transferred but when they appear on the web page the times and dates are awry. Cheers for the update Alastair! I'll take a look when I next get a spare moment... John -- John Chandler / Software

[Zope] A ZClass for LaTeX documents

2000-10-23 Thread John Verzani
basic LaTeX for math markup. Thanks for any pointers. John Verzani -- . John Verzani mailto:[EMAIL PROTECTED] . . Dept. of Mathematics http://www.math.csi.cuny.edu/~verzani . . City University of

[Zope] using zope with MS FrontPage -- underscore in foldernames

2000-10-28 Thread John Verzani
no no. Is there some way short of renaming the offending folders to do this. (also I'm not keen on LocalFS solutions either.) Thanks for any help. -- . John Verzani mailto:[EMAIL PROTECTED] . . Dept. of Mathematics

[Zope] newbie question -- database list/report with sort by column header

2000-12-03 Thread John Cappelletti
the obvious). Any pointers would be appreciated. (also, know if anyone has implemented interactive sort by column header?) thanks, John Cappelletti AverStar, Inc. 1593 Spring Hill Road, Suite 700 Vienna, VA 22182-2249 Tel: (703) 827-2606 x 4291 (also, 301 443-7509) Fax: (703) 827-5560

Re: [Zope] standard_error_message woes!

2001-01-02 Thread John Chandler
your custom page is correct first as an error there could be causing the custom error message to be superceded. All good fun :-/ Hope that's a useful starter... John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS

Re: [Zope] RSS and JavaScript

2001-01-07 Thread John Morton
the html output of htmlPreview and see if the openMe function has acutally been include, before having to use whatever passes for javascript debugging in your browser. HTH, John ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

[Zope] Re[2]: [Zope] RSS and JavaScript

2001-01-08 Thread John Morton
On 8 Jan 2001 08:22:15 -0800 LARRY CHUON [EMAIL PROTECTED] wrote: Hi all, Thank you John for your quick reply to my previous email. I've tried out both of your suggestions below. It still does work. I might have done something incorrectly as I am very new to these stuffs. Here

Re: [Zope] 2.3.0a2 - missing a file

2001-01-12 Thread John Chandler
not sure about the 'Zope banner' frame at the top - maybe it's just may inate dislike of frames showing through ;-) Anyway, good work everyone. John -- John Chandler / Software Developer / New Information Paradigms Ltd [ Linux in the office, AmigaOS in the home, PalmOS in the pocket

[Zope] Zope 2.3.0 a2 and ZClasses

2001-01-12 Thread John Verzani
. Can anyone point me in the right direction? I am unclear how to debug this as there are no apparent error messages. Thanks, John -- . John Verzani mailto:[EMAIL PROTECTED] . . Dept. of Mathematics http

Re: [Zope] Session Variable Error

2005-04-28 Thread John Ziniti
Asad Habib wrote: Actually, it does exist as I mentioned in my original message. If it did not exist, then dtml-var REQUEST.SESSION would yield a value of None for it. Also, if this were the case, then simply changing the name of the variable would not solve the problem. I think that Andreas is

[Zope] No ZMI - panic!!!!

2005-05-25 Thread John Poltorak
to look under. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

Re: [Zope] LDAPUserFolder at Zope root

2005-05-26 Thread John Ziniti
Oscar Figueiredo wrote: I tried the dummy way : delete the acl_users with an intent to instanciate a LDAPUSerFolder afterwards but that locked me out in a way I could do nothing You need to log in as the emergency user, delete the old acl-users, instantiate the new LDAPUserFolder, and then

[Zope] Creating links dynamically

2005-05-31 Thread John Poltorak
in a text file with one link per line. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] Creating links dynamically

2005-05-31 Thread John Poltorak
On Tue, May 31, 2005 at 06:23:11PM +0300, Vital Lobachevsky wrote: John Poltorak wrote: I want to provide a set of links on a Zope site dynamically. ie don't want to hard code a number of links, but would like to load them from an external source which I can add to independently, but I

Re: [Zope] Creating links dynamically

2005-05-31 Thread John Poltorak
On Tue, May 31, 2005 at 08:54:30PM +0200, Dieter Maurer wrote: John Poltorak wrote at 2005-5-31 16:39 +0100: ... Many thanks for your suggestion. Is there a worked example of doing this anywhere? The CMF's ActionsTool is a prime example for such a link factory. CMFDefaults

Re: [Zope] Creating links dynamically

2005-05-31 Thread John Poltorak
On Tue, May 31, 2005 at 02:51:18PM -0500, J Cameron Cooper wrote: John Poltorak wrote: Well, it's really easy. Create 'linkList' (Python Script) in the folder where you page lives or somewhere higher in folder hierarchy: ## Script (Python) linkList return [ ('http://www.google.com

Re: [Zope] Creating links dynamically

2005-05-31 Thread John Poltorak
On Tue, May 31, 2005 at 03:08:36PM -0500, J Cameron Cooper wrote: John Poltorak wrote: Why did you put it in a File? Why not a Script (Python)? I'm using a remote site and only have access via Zope's ZMI. Can I create a script through that? Certainly. It's in the dropdown. In fact

[Zope] How to read a file object

2005-06-01 Thread John Poltorak
How do I go about reading a Zope file object in Python? I'd appreciate it if anyone could point me to a repository of small code snippets which illustrate some simple techniques usable in Python scripts running under Zope. -- John ___ Zope

Re: [Zope] How to read a file object

2005-06-01 Thread John Poltorak
On Wed, Jun 01, 2005 at 12:46:44PM +0200, Andreas Jung wrote: --On 1. Juni 2005 10:01:22 +0100 John Poltorak [EMAIL PROTECTED] wrote: How do I go about reading a Zope file object in Python? Define what reading a Zope File object means? You mean you want the body of an upload file

Re: [Zope] Creating links dynamically

2005-06-01 Thread John Poltorak
On Tue, May 31, 2005 at 07:17:46PM +0300, Vital Lobachevsky wrote: John Poltorak wrote: On Tue, May 31, 2005 at 06:23:11PM +0300, Vital Lobachevsky wrote: John Poltorak wrote: I want to provide a set of links on a Zope site dynamically. ie don't want to hard code a number of links

Re: [Zope] Creating links dynamically

2005-06-01 Thread John Poltorak
On Wed, Jun 01, 2005 at 11:05:04AM -0500, J Cameron Cooper wrote: John Poltorak wrote: On Tue, May 31, 2005 at 07:17:46PM +0300, Vital Lobachevsky wrote: John Poltorak wrote: Well, it's really easy. Create 'linkList' (Python Script) in the folder where you page lives or somewhere

[Zope] Calling a page template from a DTML document

2005-06-03 Thread John Poltorak
Is there any way of getting a DTML document to use a page template to build part of a page? Some sample code would be handy as an illustration if what I want to do is possible. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Calling a page template from a DTML document

2005-06-04 Thread John Poltorak
On Fri, Jun 03, 2005 at 11:26:40AM -0500, J Cameron Cooper wrote: John Poltorak wrote: Is there any way of getting a DTML document to use a page template to build part of a page? Some sample code would be handy as an illustration if what I want to do is possible. Just call

[Zope] How to overlay one column of a page

2005-06-05 Thread John Poltorak
minimal codeing, but I can't figure it out. Can anyone give me a pointer to some sample code? And if it's in the Zope book, can you tell me where? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread John Poltorak
Andreas, All you ever say is RTFZB! Which Zope Book are you referring to? Zope changes so quickly, that I have learned not to trust any documentation which refers to a version older than the one I am using. -- John On Sun, Jun 05, 2005 at 12:53:29PM +0200, Andreas Jung wrote: --On 5

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread John Poltorak
On Sun, Jun 05, 2005 at 08:05:10PM +0200, Andreas Jung wrote: --On 5. Juni 2005 12:11:50 +0100 John Poltorak [EMAIL PROTECTED] wrote: Andreas, All you ever say is RTFZB! Which Zope Book are you referring to? There is only one official documentation to which almost people

Re: [Zope] How to overlay one column of a page

2005-06-05 Thread John Poltorak
On Sun, Jun 05, 2005 at 09:12:58AM -0700, David H wrote: Andreas Jung wrote: --On 5. Juni 2005 11:33:42 +0100 John Poltorak [EMAIL PROTECTED] wrote: I need some advice on how to format a page and am not sure how to explain what I want to do but hope someone will figure out what

[Zope] zope 2.7: Unauthorized in this context

2005-06-07 Thread John Hunter
I recently upgraded my zope server to 2.7 and a product I wrote which makes heavy use of Z-Classes is now broken. This is a workflow site for a course, and there are Course, Section, Student, ProjectSubmission, etc as ZClasses. To view the page at all students undergo basic authentication.

[Zope] Deconstructing a Zope site

2005-06-15 Thread John Poltorak
/templates anywhere? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

[Zope] Repository for common python scripts

2005-06-15 Thread John Poltorak
Can anyone recommend a way of setting up a library of common python scripts? I'd like to put such scripts in a shared area. If I created a folder called common and move parse_file there, how should I recode this line? python:here.parse_file(file=context.links,sepr=',',clone=1) -- John

Re: [Zope] Repository for common python scripts

2005-06-15 Thread 'John Poltorak'
On Wed, Jun 15, 2005 at 02:48:32PM +0200, Pascal Peregrina wrote: here.common.parse_file() should work. Indeed it does. Many thanks! Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Poltorak Sent: 15 June 2005 13:37 To: zope@zope.org

Re: [Zope] zope 2.7: Unauthorized in this context

2005-06-15 Thread John Hunter
Dieter == Dieter Maurer [EMAIL PROTECTED] writes: Dieter John Hunter wrote at 2005-6-7 09:52 -0500: ... Traceback (innermost last): ... URL: http://srp.uchicago.edu/2005/Sections/B1/Amrita%20Arora/ProjectSubmission_addForm/manage_main Physical Path:/srp/2005/Sections/B1

Re: [Zope] zope 2.7: Unauthorized in this context

2005-06-15 Thread John Hunter
John == John Hunter [EMAIL PROTECTED] writes: John I installed VerboseSecurity and now get a more helpful error John message in the log (to refresh your memory, this is a pure John ZClass based product which stopped working on an upgrade to John 2.7). Here is the updated message

Re: [Zope] zope 2.7: Unauthorized in this context

2005-06-15 Thread John Hunter
Dieter == Dieter Maurer [EMAIL PROTECTED] writes: Dieter Note that this is only a hack! Dieter All objects in the FactoryDispatcher should provide Dieter their own security declarations. Then, they would not Dieter depend on that of the container. Dieter Thus, the

[Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread John Poltorak
I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE. Can anyone explain why? Could it be the CSS? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] IE v. Firefox for viewing Zope sites

2005-06-16 Thread John Poltorak
On Thu, Jun 16, 2005 at 08:30:15PM +0200, Andreas Jung wrote: --On 16. Juni 2005 19:15:58 +0100 John Poltorak [EMAIL PROTECTED] wrote: I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE. Can anyone explain why

[Zope] Passing parameters using DTML

2005-06-17 Thread John Poltorak
Can someone provide an example of passing parameters using DTML? I'm sure this must be doable, but don't see an example in the Zope Book. I assume it would go something like dtml-var var1 parm1 parm2 but how would var1 pick up parm1 parm2? -- John

[Zope] Picking up a parameter in a ZPT

2005-06-17 Thread John Poltorak
the variable using:- dtml-var expr=test2(parm='links') Just don't know how to reference it under ZPT. Help! -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Passing parameters using DTML

2005-06-17 Thread John Poltorak
? -- Dieter -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

Re: [Zope] Passing parameters using DTML

2005-06-17 Thread John Poltorak
On Fri, Jun 17, 2005 at 09:31:44PM +0200, Andreas Jung wrote: --On 17. Juni 2005 20:24:23 +0100 John Poltorak [EMAIL PROTECTED] wrote: Is there also something which explains how to call ZPTs from a DTML object? Do you have a good reason for mixing ZPT and DTML? Yes. I have

Re: [Zope] Passing parameters using DTML

2005-06-17 Thread John Poltorak
On Fri, Jun 17, 2005 at 05:07:32PM -0400, Paul Winkler wrote: On Fri, Jun 17, 2005 at 08:24:23PM +0100, John Poltorak wrote: Is there also something which explains how to call ZPTs from a DTML object? I'm unable to pick up a passed parameter. This is what I've conjured up

[Zope] Graphical front end for Zope?

2005-06-19 Thread John Poltorak
of a Zope site. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo

Re: [Zope] Passing parameters using DTML

2005-06-20 Thread John Poltorak
-- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )

[Zope] ZPT tutorial

2005-06-20 Thread John Poltorak
Does a ZPT tutorial exist anywhere? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] ZPT tutorial

2005-06-21 Thread John Poltorak
On Tue, Jun 21, 2005 at 01:24:18AM +0200, Andreas Pakulat wrote: On 20.Jun 2005 - 23:45:34, John Poltorak wrote: Does a ZPT tutorial exist anywhere? How about the 2 chapters in the Zope book? I just don't find this book very helpful at all. It's written as a manual rather than tutorial

[Zope] ZPT code sample

2005-06-21 Thread John Poltorak
Is there anything wrong with this ZPT code sample? http://www.zopemag.com/Issue003/Section_Articles/article_ZPTintro_code.html I get this error message when trying to save it:- HTMLParser.HTMLParseError: malformed start tag, at line 8, column 37 -- John

Re: [Zope] ZPT tutorial

2005-06-21 Thread John Poltorak
for my own content. I don't expect to be able to write my own macro for quite a while - too many pitfalls... I'm not even sure is that is how I should be approaching writing a home page. Andreas -- -- John -- Peter Bengtsson, work www.fry-it.com home

Re: [Zope] ZPT code sample

2005-06-21 Thread John Poltorak
On Tue, Jun 21, 2005 at 06:07:36PM +0200, Andreas Jung wrote: --On 21. Juni 2005 11:58:52 -0400 Fred Drake [EMAIL PROTECTED] wrote: On 6/21/05, John Poltorak [EMAIL PROTECTED] wrote: Is there anything wrong with this ZPT code sample? http://www.zopemag.com/Issue003/Section_Articles

[Zope] ZPT contents slot

2005-06-21 Thread John Poltorak
slot of a master template whenever the options A B C are selected. Can I do that, and if so how? I have spent all day looking at ZPT references and have no idea if what I'd like to do is possible. -- John ___ Zope maillist - Zope@zope.org http

Re: [Zope] ZPT code sample

2005-06-21 Thread John Poltorak
On Tue, Jun 21, 2005 at 10:25:24PM +0200, Andreas Jung wrote: --On 21. Juni 2005 19:37:35 +0100 John Poltorak [EMAIL PROTECTED] wrote: On Tue, Jun 21, 2005 at 06:07:36PM +0200, Andreas Jung wrote: It may well be obvious to anyone familiar with these things, but when you are struggling

Re: [Zope] ZPT contents slot

2005-06-21 Thread John Poltorak
On Tue, Jun 21, 2005 at 03:16:11PM -0500, J Cameron Cooper wrote: John Poltorak wrote: If I create a macro which defines a slot called 'content', is there any way to have that slot populated by a file with a specific name if it exists in a folder? What I'd like to do is create

Re: [Zope] ZPT tutorial

2005-06-21 Thread John Poltorak
On Tue, Jun 21, 2005 at 03:15:33PM -0400, Paul Winkler wrote: On Tue, Jun 21, 2005 at 07:29:20PM +0100, John Poltorak wrote: re. zopelabs.com: It probably is very useful, but I know I'd get hopelessly lost because there is just so much stuff on it. So you prefer to ignore it? Just how

Re: [Zope] ZPT contents slot

2005-06-22 Thread John Poltorak
On Tue, Jun 21, 2005 at 04:46:55PM -0500, J Cameron Cooper wrote: John Poltorak wrote: Is 'stxfile' the actual filename? I'm not concerned about it being structured initially - just want to see it working in principle with any file containg some text. It's the name of an object. I

Re: [Zope] ZPT tutorial

2005-06-22 Thread John Poltorak
On Tue, Jun 21, 2005 at 11:04:12PM +0100, Mark Barratt wrote: John Poltorak wrote: I was on a course over the weekend where ordinary people in their 70's with no technical ability were knocking together websites in just a few hours with no prior training and no understanding

[Zope] ZopeZoo

2005-06-22 Thread John Poltorak
with a part two to show how to incorporate various divisions such as columns under ZPT. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Batch folder creation

2005-06-22 Thread John Poltorak
Is there any way to create folders in batch? I need to create around 50 but don't fancy doing this manually. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] Search path for objects

2005-06-23 Thread John Poltorak
to determine this? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman

[Zope] External editor for ZMI

2005-06-23 Thread John Poltorak
What alternatives are there to editing objects through ZMI? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo

Re: [Zope] External editor for ZMI

2005-06-23 Thread John Poltorak
On Thu, Jun 23, 2005 at 11:49:19AM -0400, Paul Winkler wrote: On Thu, Jun 23, 2005 at 04:27:50PM +0100, John Poltorak wrote: What alternatives are there to editing objects through ZMI? ExternalEditor. Do you mean this? http://plope.com/software/ExternalEditor Are there any screen shots

[Zope] Problems changing from DTML to ZPT

2005-06-23 Thread John Poltorak
I'm attempting to convert a page which uses DTML into one which uses ZPT but can't get it to look the same. Can some kind person quickly check over my poor attempt to utilise ZPT to see what I've done wrong? -- John ___ Zope maillist - Zope

Re: [Zope] Batch folder creation

2005-06-23 Thread John Poltorak
a Zope File object On Wed, Jun 22, 2005 at 10:49:07AM -0700, David H wrote: John Poltorak wrote: Is there any way to create folders in batch? I need to create around 50 but don't fancy doing this manually. John, Put this in a python script and test. for n in range(10

[Zope] Reading lines from a Zope File object

2005-06-23 Thread John Poltorak
What function is used to read lines from a Zope File object using Python? Is there any example of this anywhere? Doing a search for 'python read zope object' is just too generic to find any python code to do this. -- John ___ Zope maillist

Re: [Zope] Batch folder creation

2005-06-23 Thread John Poltorak
Hi David, I'm used to using the term 'file'. I guess it isn't appropriate in this case since I'm not actually handling a file but a Zope File object. I'm not sure where to look to see how Python handles this... John On Thu, Jun 23, 2005 at 04:30:07PM -0700, David H wrote: John, Seems

[Zope] Why the hell hasn't Page Templates taken over the world?

2005-06-24 Thread John Poltorak
set out? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo

Re: [Zope] Why the hell hasn't Page Templates taken over the world?

2005-06-24 Thread John Poltorak
On Fri, Jun 24, 2005 at 12:09:32PM +0200, Andreas Jung wrote: --On 24. Juni 2005 10:56:12 +0100 John Poltorak [EMAIL PROTECTED] wrote: It seems that I'm not the only one who woul like to see more examples of ZPTs. Is there a repository for examples of what you can do with ZPT's

[Zope] Sequencing pages

2005-06-25 Thread John Poltorak
. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )

[Zope] Generating links from a list

2005-06-27 Thread John Poltorak
,Second Link org-x,Another Link How do I prepend a hardcoded path to org-1 instead of what is getting generated? I would like to see the link for org-1 being generated as http://www.mysite.org/links/org-1 irrespective of the context. -- John ___ Zope

[Zope] Debugging a python routine

2005-06-27 Thread John Poltorak
python:opt[0]/a/li /tal:block /span -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce

Re: [Zope] Generating links from a list

2005-06-27 Thread John Poltorak
On Mon, Jun 27, 2005 at 10:03:08AM -0600, Nikko Wolf wrote: John Poltorak wrote: My links list consists of simple lines such as org-1,First link org-2,Second Link org-x,Another Link How do I prepend a hardcoded path to org-1 instead of what is getting generated? I would

Re: [Zope] Sequencing pages

2005-06-29 Thread John Poltorak
On Tue, Jun 28, 2005 at 03:45:01PM -0500, J Cameron Cooper wrote: John Poltorak wrote: If I create individual pages for a website as sub folders of a sites main folder, how do I control the sequence of pages if I automatically generate a set of links to all the folders? I presume

[Zope] Calendar for Zope

2005-06-29 Thread John Poltorak
I quite like Plone's Calendar, but need something similar for Zope. Any recommendations? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Calendar for Zope

2005-06-29 Thread John Poltorak
On Wed, Jun 29, 2005 at 01:15:39PM +0200, Lennart Regebro wrote: On 6/29/05, John Poltorak [EMAIL PROTECTED] wrote: I quite like Plone's Calendar, but need something similar for Zope. Any recommendations? For those daring to be on the (b)leeding edge, there is CalZope, which is the non

[Zope] Starting a search from the correct folder

2005-06-30 Thread John Poltorak
like to do is skip the first list. If I want to generate a list of folders in say the 'groups' folder, how would I change the code above? -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Starting a search from the correct folder

2005-07-02 Thread John Poltorak
On Sat, Jul 02, 2005 at 05:03:06PM +0200, Andreas Jung wrote: --On 2. Juli 2005 15:52:52 +0100 John Poltorak [EMAIL PROTECTED] wrote: When you are ready to look up (in the hierarchy), then obj.aq_inner.aq_parent is the hierarchy parent of obj. Well that would

  1   2   3   4   >