Re: [Zope] Stupid Question

2006-08-23 Thread Andreas Jung



--On 23. August 2006 13:38:10 -0400 beno [EMAIL PROTECTED] wrote:


Hi;
On this page (of a Zope product):
http://iungo.org/products/MailBoxer/
there is the instruction to send an email to this address:
| [EMAIL PROTECTED]
What exactly does that mean? Can someone give me an example?


The docs say:


After adding a MailBoxer (see below) you can send all your messages to 
[EMAIL PROTECTED]



Is it so hard to understand to replace the example email address with
the one you have configured for your Mailboxer?

-aj

--
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope  Plone development, Consulting


pgpuQ9mrpdMe5.pgp
Description: PGP signature
___
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 )


Re: [Zope] Stupid Question

2006-08-23 Thread beno

Andreas Jung wrote:



--On 23. August 2006 13:38:10 -0400 beno [EMAIL PROTECTED] wrote:


Hi;
On this page (of a Zope product):
http://iungo.org/products/MailBoxer/
there is the instruction to send an email to this address:
| [EMAIL PROTECTED]
What exactly does that mean? Can someone give me an example?


The docs say:


After adding a MailBoxer (see below) you can send all your messages to 
[EMAIL PROTECTED]



Is it so hard to understand to replace the example email address with
the one you have configured for your Mailboxer?
Well, the list is called rejoice, the Web site in question is called 
rejoice.2012.vi and I tried this address: [EMAIL PROTECTED]. It didn't 
work. So I tried this address: [EMAIL PROTECTED]. On that one, I 
didn't get a bounce but I didn't show up in the Properties::maillist, 
either, nor did I receive a welcome message :( You wouldn't mind 
providing an example for me, would you? Frankly, I find the tokens 
yourMailHost and yourDomain rather unclear.

TIA,
beno
___
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 )


Re: [Zope] Stupid Question

2006-08-23 Thread Andreas Jung



--On 23. August 2006 14:34:43 -0400 beno [EMAIL PROTECTED] wrote:



Is it so hard to understand to replace the example email address with
the one you have configured for your Mailboxer?

Well, the list is called rejoice, the Web site in question is called
rejoice.2012.vi and I tried this address: [EMAIL PROTECTED]. It didn't
work. So I tried this address: [EMAIL PROTECTED]. On that one, I
didn't get a bounce but I didn't show up in the Properties::maillist,
either, nor did I receive a welcome message :( You wouldn't mind
providing an example for me, would you? Frankly, I find the tokens
yourMailHost and yourDomain rather unclear.



Sorry but as a solution provider having customers you should know how a 
proper email address looks like.


-aj

pgpVpRbfLx6Xt.pgp
Description: PGP signature
___
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 )


Re: [Zope] Stupid Question but...

2000-11-07 Thread Andy McKay

 Hi! I'm a new user and I sort of successfully installed the program on
 my stand-alone computer.

Installed what program?

 But now I'm wondering how do I install the
 program on a webserver.  Actually, I would like to ask for example, I
 would like to use the KnowledgeKit developed by Bill on my webserver, do
 I need to install the Zope main program? If yes, how do I go about it?

If KnowledgeKit is a Zope product so yes you will need Zope. Go to Zope.org
and click on download. There are installation instructions for your platform

 Thank you.

 Julian


 ___
 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] Stupid Question Time

2000-07-11 Thread Jerome ALET

On Tue, Jul 11, 2000 at 04:00:26PM -0400, Terry Babbey wrote:
 I think if I can get an answer to a stupid question it may go along
 way to opening my eyes to Zope.
 
 I need to understand the use of ',",(),[].
 I think when you use single quote ' - it means to take as literal -
 don't interpret.

all of these come directly from the Python language.

you should read the Python tutorial (find it on python.org) and you'll
understand them all.

in short: 

' and " are equivalent
() are for functions or methods
[] are for arrays (aka list, aka tables) or dictionnaries (aka mappings)

bye,

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 )




Re: [Zope] Stupid Question Time

2000-07-11 Thread R. David Murray

On Tue, 11 Jul 2000, Jerome ALET wrote:
 ' and " are equivalent

Not quite true.  dtml only recognizes " for surrounding dtml expressions.
But you are right that they are equivalent in python.

 () are for functions or methods

To call functions or methods: blah(somearg).  But also used for
grouping in expressions: a * (b+c), and for delimiting immutable sequences:
('thing', 'secondthing').

 [] are for arrays (aka list, aka tables) or dictionnaries (aka mappings)

[] can be used to index into sequences: a[3], or to slice out a
portion of a sequence: a[2:4] (see the python guide for more).
Also key lookup out of dictionaries/mappings.  But to *define*
dictionaries you use {}:  {'key1': 'val1', 'key2': 'val2'}.

The most confusing part is the interface between dtml and python.
in an expr, inside the quotes you are in python and things follow
python syntax rules.  This gets really confusing when you have
dtml variables that have hyphens in them, since in python that's
the subtraction symbol.  So inside a python expression, you have
to look up such symbols in the dtml name space.  The dtlm namespace
is named '_', and is a mapping.  So you have things like:

dtml-var expr="_['sequence-index']+1"

which prints out a number one greater than the current sequence-index.

You can leave off the 'expr=' above, and because of the "s, dtml
will assume it.  This is the way most dtml is written, with the
expr= or name= left out, and that can be very confusing when you
don't know the rules; see the dtml guide.

This is but the briefest introduction to this topic, but hopefully
it will make a few things clearer.

--RDM


___
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] Stupid question of the day

2000-06-26 Thread Andy McKay

Thank you.

- Original Message - 
From: "Dieter Maurer" [EMAIL PROTECTED]
To: "Andy McKay" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, June 23, 2000 3:07 PM
Subject: Re: [Zope] Stupid question of the day


 Andy McKay writes:
   How do I find the size of the results returned by the catalog?
 dtml-let results=Catalog()
 dtml-var "_.len(results)" -- the results' length --
 /dtml-let
 
 
 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 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] Stupid question of the day

2000-06-24 Thread R. David Murray

On Sat, 24 Jun 2000, Dieter Maurer wrote:
 Andy McKay writes:
   How do I find the size of the results returned by the catalog?
 dtml-let results=Catalog()
 dtml-var "_.len(results)"   -- the results' length --
 /dtml-let

Or you can use the variable 'sequence-length'.  Remember that
if you want to use it in an expr you have to say _['sequence-length'].

--RDM


___
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] Stupid question of the day

2000-06-23 Thread Dieter Maurer

Andy McKay writes:
  How do I find the size of the results returned by the catalog?
dtml-let results=Catalog()
dtml-var "_.len(results)" -- the results' length --
/dtml-let


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] 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]
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] stupid question I guess

2000-06-07 Thread Andrew Kenneth Milton

+[ 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? ;-)

Tsk tsk, that's global :-)

dtml-let variablename=1
...
...
/dtml-let

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[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] stupid question I guess

2000-06-07 Thread Phil Harris

Is it global to the page, or local to the page ?!?!?


- Original Message -
From: "Andrew Kenneth Milton" [EMAIL PROTECTED]
To: "Chris Withers" [EMAIL PROTECTED]
Cc: "josh on" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2000 3:05 PM
Subject: Re: [Zope] stupid question I guess


 +[ 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? ;-)

 Tsk tsk, that's global :-)

 dtml-let variablename=1
 ...
 ...
 /dtml-let

 --
 Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew
Milton
 The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   |
 ACN: 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
 PO Box 837 Indooroopilly QLD 4068|[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 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] stupid question I guess

2000-06-07 Thread Tony McDonald

At 12:05 am +1000 8/6/00, Andrew Kenneth Milton wrote:
+[ 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? ;-)

Tsk tsk, that's global :-)

dtml-let variablename=1
...
...
/dtml-let

Tsk tsk tsk - it don't work ;)
dtml-let variablename="1"
...
...
/dtml-let

tone..


--
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

___
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] stupid question I guess

2000-06-07 Thread josh on

wow great answer, thanks that has just peeled off another layer of zope
mystery for me.

can this be put in the dynamic faq?

josh on


- Original Message -
From: Tony McDonald [EMAIL PROTECTED]
To: Zope List [EMAIL PROTECTED]
Sent: Wednesday, June 07, 2000 3:17 PM
Subject: Re: [Zope] stupid question I guess


 At 2:55 pm +0100 7/6/00, Chris Withers wrote:
 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

 now now :)

 (tested)

 dtml-let variablename="1"
 blah blah blah ... ie the scope of the variable
 dtml-var variablename
 /dtml-let

 don't fall into the trap of doing this
 dtml-let variablename="I am a string"
 blah blah blah ... ie the scope of the variable
 dtml-var variablename
 /dtml-let

 'cos Zope won't let you enter it (it thinks that the 'I' is a
 variable name). Remember that anything in " " is evaluated as a
 Python expression...

 try this instead
 dtml-let variablename="'I am a string'"
 blah blah blah ... ie the scope of the variable
 dtml-var variablename
 /dtml-let

 You can have multiple variables set too...
 dtml-let variablename="'I am a string'" bloot="1"
 blah blah blah ... ie the scope of the variable
 dtml-var variablename :: dtml-var bloot
 /dtml-let

 See lib/python/DocumentTemplate/DT_Let.py for more details...

 hth
 tone


 --
 Dr Tony McDonald,  FMCC, Networked Learning Environments Project
 http://nle.ncl.ac.uk/
 The Medical School, Newcastle University Tel: +44 191 222 5888
 Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

 ___
 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 )