[Zope] need help: strange behaviour of dynamicly built global navigation tree in standard header

2000-08-26 Thread Marcus Schopen

Hi there,

I would also like to put my global navigation method in the standard header, so each 
document can use it.
But I get a strange behaviour (see http://marcus.localguru.de:8080/b3/ )
of these dynamicly built navigation trees. I would like to avoid frames.

Thank you
Marcus

__

 (0>   Marcus Schopen
 //\   Bielefeld, Germany
 V_/_
__


___
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] speeding up dtml-tree<00b001c006da$d19c4310$6703a8c0@torch>

2000-08-26 Thread Dieter Maurer

Clinton Roy writes:
 >  external method restrictions 
 > I'm losing faith people..

Maybe, you should not.

There are more ways to build extensions than external methods
in "Extension" directories.

Each way has its advantages and drawbacks:

TypeWeb Manageable  requires restart

DTML Methods yesno

ZClasses yesno

External methodspartly  no

Productspartly  yes

Python Modules   no yes



The restrictions for source files in the Extension directories
are documented together with a description what to do
to circumvent the restrictions:

   These source files are not imported as standard Python
   modules but they are read in and executed.

   As a consequence, Zope may simply reread and
   reexecute them when they changed. A restart
   is not necessary.
   If they could be used like full Python modules,
   then it would be very difficult to do this
   in a safe manner unless the Python import
   and lookup mechanisms are changed.
   This might be possible but difficult.

   On the downside, instances of classes defined in these
   source files can not be pickled (and therefore stored
   in the ZODB). The pickle mechanism does not
   understand Zope's read and execute but
   requires standard Python module import.

   The workaround: define the classes (!) you need
   for ZODB objects in true Python modules.
   The documentation suggests to define them
   in a properly named subpackage of "Shared" such that
   maintenance will not become a nightmare.
   Yes, changes to true Python modules (and therefore
   to your classes) require a Zope restart.
   But, hopefully, you will not change your classes
   too often.

   You can instantiate your classes, i.e. build
   instances from them, in external methods,
   i.e. in source files located in an Extension
   folder.

   There is no need to have the same code at two
   places! Classes for picklable objects or
   infrastructure to be used in several source
   files in true Python modules,
   everything else (if you want) in external methods.


Each tool has its strengthes and weaknesses. Know them
and use the right tool for your task.
This applies both to (sub-)tools inside Zope
(e.g. external method versus product versus Python module)
as well as to Zope itself (versus ASP, PHP, JSP, ...).


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] HORSE CHIROPRACTIC BOOK

2000-08-26 Thread dkamen4492


SPECIAL!!

"THE WELL ADJUSTED HORSE,"  equine chiropractic methods you can do is available 
through animal chiropractic seminars.  The book is $16.95 and the video is $49.00.  We 
are selling the last of the first edition videos (32 copies left) for $20.00 each.  
This video really shows you how to adjust horse--all of the techniques are done by 
hand.  Save $29.00!!  They won't last.

Call Dr. Daniel Kamen, D.C. 1-800-742-8433

___
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] HORSE CHIROPRACTIC BOOK

2000-08-26 Thread Alexander Chelnokov

Hello dkamen4492,

Wednesday, August 23, 2000, 5:20:02 AM, you wrote:

dac> SPECIAL!!

dac> "THE WELL ADJUSTED HORSE,"  equine chiropractic methods you can

Do the methods work properly under Zope 2.2.1?

-- 
Best regards,
Alexander N. Chelnokov
Ural Scientific Institute of Traumatology and Orthopaedics
7, Bankovsky str. Ekaterinburg 620014 Russia
ICQ: 25640913



___
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] 2.2.1 and zdiscussion

2000-08-26 Thread Chris McDonough

It looks like there may be a problem with an __ac_permissions__ tuple
(or a __roles__ definition) in a class within the product.  It's hard to
tell what the problem actually is, but you may want to try to narrow the
problem down by figuring out which class and which data structures are
causing the problem.  You can figure out which class might be causing
the problem by exempting classes from being processed by
Globals.default__class_init__() one-by-one until the error stops.  Then
post that class' security definitions here and maybe we'll spot
something weird.

"Bak @ kedai" wrote:
> 
> hi
> a clean install won't start properly  with ZDiscussion product install.  the
> same thing also with ZDiscussion based classes created.
> 
> tracebacks when starting
> 2000-08-26T04:13:44 ERROR(200) Zope Couldn't import Products.ZDBase
> Traceback (innermost last):
>   File /tmp/Zope/lib/python/OFS/Application.py, line 396, in import_products
> (Object: string)
>   File /tmp/Zope/lib/python/Products/ZDBase/__init__.py, line 86, in ?
>   File /tmp/Zope/lib/python/Products/ZDBase/ZDiscussions.py, line 106, in ?
>   File /tmp/Zope/lib/python/App/class_init.py, line 109, in
> default__class_init__
> (Object: ZDItem)
>   File /tmp/Zope/lib/python/AccessControl/Permission.py, line 204, in
> registerPermissions
> ValueError: unpack sequence of wrong size
> 
> 
> --
> 2000-08-26T04:13:44 ERROR(200) Zope Couldn't import Products.ZDConfera
> Traceback (innermost last):
>   File /tmp/Zope/lib/python/OFS/Application.py, line 396, in import_products
> (Object: string)
>   File /tmp/Zope/lib/python/Products/ZDConfera/__init__.py, line 3, in ?
>   File /tmp/Zope/lib/python/Products/ZDConfera/ZDConfera.py, line 2, in ?
> ImportError: cannot import name ZDiscussions
> 
> this is a bit frightening since i have a zclass subclass on zdbase in
> production server  and this prevents me from being on the latest stable
> release.  can anything be done?
> 
> this on rh linux, 2.2.1 final
> 
> thanks
> 
> ___
> 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] Linux and ODBC

2000-08-26 Thread Tino Wildenhain

Hi Tony,

Tony Corrente wrote:
> 
> Hello..
> 
> I am currently using the openlink ODBC drivers to access Progress DB's
> on a HPUX System from A Linux Web Server using  Apache and PHP4. It
> Works...
> The rest of my site has been moved to Zope.  Everything I've read states
> that the Zope DA's for ODBC only run under the Win32... Is anyone
> working on this ?? or how do I do it from Linux ??  I don't want to
> install a N(asty)T(hing)  server if I can avoid it..

This is not really true. The ZmxODBC DA cames with full sources.
I was able to build most of it under linux. 
You have to move part of the distribution into different places.
When I fully succeed ( I had plain mxODBC running already!)
I will make an how-to of it.

So please stay tuned ;)

Regards
Tino Wildenhain

___
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] 2.2.1 and zdiscussion

2000-08-26 Thread J M Cerqueira Esteves

Hi

On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote:
> hi
> a clean install won't start properly  with ZDiscussion product install.  the 
> same thing also with ZDiscussion based classes created.

There is a missing comma in the definition of __ac_permissions__ in class
ZDItem (file ZDiscussions.py):

__ac_permissions__ = ( 
('Manage properties', ('manage_addProperty',
   'manage_editProperties',
   'manage_delProperties',
   'manage_changeProperties',))
)


Just add a comma before the last parenthesis:

__ac_permissions__ = ( 
('Manage properties', ('manage_addProperty',
   'manage_editProperties',
   'manage_delProperties',
   'manage_changeProperties',)),
)

In this way, __ac_permissions__ becomes a tuple of permissions (one, in
this case), as it should be.

-- 
 jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] 2.2.1 and zdiscussion

2000-08-26 Thread J. Atwood

It is a known bug and will be squashed in the next release (pretty 
major thanks to Mr. Harris). Stay tuned.

J-

At 2:58 PM +0100 8/26/2000, J M Cerqueira Esteves wrote:
>Hi
>
>On Sat, Aug 26, 2000 at 12:20:29PM +0800, Bak @ kedai wrote:
>>  hi
>>  a clean install won't start properly  with ZDiscussion product install.  the
>>  same thing also with ZDiscussion based classes created.
>
>There is a missing comma in the definition of __ac_permissions__ in class
>ZDItem (file ZDiscussions.py):
>
> __ac_permissions__ = (
> ('Manage properties', ('manage_addProperty',
>'manage_editProperties',
>'manage_delProperties',
>'manage_changeProperties',))
> )
>
>
>Just add a comma before the last parenthesis:
>
> __ac_permissions__ = (
> ('Manage properties', ('manage_addProperty',
>'manage_editProperties',
>'manage_delProperties',
>'manage_changeProperties',)),
> )
>
>In this way, __ac_permissions__ becomes a tuple of permissions (one, in
>this case), as it should be.
>
>--
>  jmce: +351 919838775 ~ http://artenumerica.com/ ~ http://artenumerica.org/
>
>___
>Zope maillist  -  [EMAIL PROTECTED]
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  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] Sub Class Question

2000-08-26 Thread Loren Stafford

I'm not sure if this is the same situation I encountered in Xron's
XronDTMLMethod.py, where I'm overriding CatalogAware's index_object method.

  # Only index if nextEventTime returns something
  def index_object(self):
if self.nextEventTime() is not None:
CatalogAware.index_object.im_func(self)
# see Python Reference Manual "The standard type hierarchy"
# for the built-in type im_func

-- HTH
-- Loren

- Original Message -
From: "Daniel Rusch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: August 25, 2000 02:51 PM
Subject: [Zope] Sub Class Question


> I've created a BasicMethod which is derived from the DTMLMethod.
> everything works great until I try to have the sub class's
> (BasicMethod)  __call__ method call the super class's (DTMLMethod)
> __call__ method.
>
> class BasicMethod(DTMLMethod):
> """BasicMethod objects are DocumentTemplate.HTML objects that act
>as methods whose 'self' is the BasicMethod itself."""
>
> meta_type='Basic Method'
>
>
> def __call__(self, client=None, REQUEST={}, RESPONSE=None, **kw):
> print 'Sub Class __call__'
> DTMLMethod.__call__(self, client, REQUEST, RESPONSE, kw)
>
> Globals.default__class_init__(BasicMethod)
>
>
> when I view the BasicMethod in Zope, I get:
> Error Type: TypeError
> Error Value: too many arguments; expected 4, got 5
>
>
> I believe that I need the self arg, if I remove it I get an unbound
> python method error.
>
> Any thoughts???
>
> DR
>
> ___
> 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] OT: Website design / spec / development resources

2000-08-26 Thread J. Atwood

Hey Zopers,

I am looking for some good guidelines in designing, spec'ing and 
developing large complex websites. Anything like guidelines, steps, 
howtos, etc would be much appreciates. From theory to practice.

Thanks,
J

___
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 get PARENTS[-1] from within a Python Product

2000-08-26 Thread Ira Hochman

Hello-

How does one retrieve the equivalent of PARENTS[-1] from within a Python
Product in Zope?

I have tried self.aq_parent.absolute_url() which gets the equivalent
of PARENTS[0], but I need to get PARENTS[-1].

I am trying to isolate/preserve the portion of the path that contains
cgi/pcgi info, if any (as in "http://yoursite.com/bin-cgi/Zope.pcgi").
 Alternate approaches to accomplish the same would also be welcome.

-- 
Ira Hochman
[EMAIL PROTECTED] - email
(617) 598-1014 x5511 - voicemail/fax



__
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.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] PTK and Membership product

2000-08-26 Thread albert boulanger


>From Friday's 8-25 PTK CVS

PTK has logic to support the Membership product, but it seems to be
using the old MembershipZ name. I want to use this combination because
we have own own custom database where user accounting will be stored.

(I am using PortalMembership version 0.7.2. By the way the version
numbers in the code need updating -- it claims it is 0.7.0)

class DemoPortalBaseclass in Portal.py I had to change MembershipZ/LoginMember

 # self.acl_users was magically created by the above call
#'PortalMembership/PortalMember' 'MembershipZ/LoginMember'
for us in self.acl_users.UserSourcesGroup.objectValues():
if us.meta_type == 'Persistent User Source':
us.__of__(self.acl_users).manage_setStorage(
   'PortalMembership/PortalMember' )
break

But this was not enough, it breaks at:


 Zope Error

 Zope has encountered an error while publishing 
this resource. 

 Error Type: AttributeError
 Error Value: setMemberProperties



 Troubleshooting Suggestions

  The URL may be incorrect. 
  The parameters passed to this resource may be
  incorrect. 
  A resource that this resource relies on may 
be
  encountering an error. 

 For more detailed information about the error, 
please refer to
 the HTML source for this page. 

 If the error persists please contact the site 
maintainer. Thank
 you for your patience. 




Traceback (innermost last):
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 222, in publish_module
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 187, in publish
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Zope/__init__.py, 
line 221, in zpublisher_exception_hook
(Object: RoleManager)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 171, in publish
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py, 
line 160, in mapply
(Object: Portal_add)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
 line 112, in call_object
(Object: Portal_add)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py, 
line 172, in __call__
(Object: Portal_add)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
 line 528, in __call__
(Object: Portal_add)
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_With.py,
 line 146, in render
(Object: Portal.createInObjectManager(REQUEST['id'], REQUEST))
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Let.py,
 line 147, in render
(Object: RESPONSE="_.None")
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Util.py,
 line 337, in eval
(Object: portal_registration.addMember(username, password,
('Member', 'Manager', 'Reviewer'), '', REQUEST))
(Info: username)
  File , line 0, in ?
  File 
/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/PTKBase/RegistrationTool.py,
 line 174, in addMember
(Object: portal_registration)
AttributeError: (see above)


Is there any thing I also need to do to make this combination work? Do
I need to use the older MembershipZ stuff?


Has anyone used the ZSession product with PTK? Again we are storing
sesssion info in our own database and I would liek to uses Zpatterns
for this.

Regards,
Albert Boulanger
[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] ftp permisions problem

2000-08-26 Thread technology

Hi:

I am running zope ftp on 8021 by defualt.

I ftp to it and attempt to upload a file into zope. I get a ettempt to create 
file failed.

Any ideas.

I am running all zope permissions as defualt. I log in as superuser.

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] ftp permisions problem

2000-08-26 Thread Chris McDonough

Superuser cannot create objects.

Create and log in as a user with the "Manager" role.

[EMAIL PROTECTED] wrote:
> 
> Hi:
> 
> I am running zope ftp on 8021 by defualt.
> 
> I ftp to it and attempt to upload a file into zope. I get a ettempt to create
> file failed.
> 
> Any ideas.
> 
> I am running all zope permissions as defualt. I log in as superuser.
> 
> 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 )

___
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 permisions problem

2000-08-26 Thread Timothy Wilson

On Sat, 26 Aug 2000 [EMAIL PROTECTED] wrote:

> I am running zope ftp on 8021 by defualt.
> 
> I ftp to it and attempt to upload a file into zope. I get a ettempt to create 
> file failed.
> 
> Any ideas.
> 
> I am running all zope permissions as defualt. I log in as superuser.

If you're running a 2.2.x version of Zope, then the new security model
doesn't allow superuser to own anything. Try creating a file as another
user.

-Tim

--
Tim Wilson  | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |  | http://slashdot.org/
[EMAIL PROTECTED] || http://linux.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] PTK and Membership product

2000-08-26 Thread Chris McDonough

Forwarding this on from the Zope list to the PTK list

albert boulanger wrote:
> 
> From Friday's 8-25 PTK CVS
> 
> PTK has logic to support the Membership product, but it seems to be
> using the old MembershipZ name. I want to use this combination because
> we have own own custom database where user accounting will be stored.
> 
> (I am using PortalMembership version 0.7.2. By the way the version
> numbers in the code need updating -- it claims it is 0.7.0)
> 
> class DemoPortalBaseclass in Portal.py I had to change MembershipZ/LoginMember
> 
>  # self.acl_users was magically created by the above call
> #'PortalMembership/PortalMember' 'MembershipZ/LoginMember'
> for us in self.acl_users.UserSourcesGroup.objectValues():
> if us.meta_type == 'Persistent User Source':
> us.__of__(self.acl_users).manage_setStorage(
>'PortalMembership/PortalMember' )
> break
> 
> But this was not enough, it breaks at:
> 
>  Zope Error
> 
>  Zope has encountered an error while publishing 
>this resource.
> 
>  Error Type: AttributeError
>  Error Value: setMemberProperties
> 
>  Troubleshooting Suggestions
> 
>   The URL may be incorrect.
>   The parameters passed to this resource may 
>be
>   incorrect.
>   A resource that this resource relies on 
>may be
>   encountering an error.
> 
>  For more detailed information about the error, 
>please refer to
>  the HTML source for this page.
> 
>  If the error persists please contact the site 
>maintainer. Thank
>  you for your patience.
> 
> Traceback (innermost last):
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
> line 222, in publish_module
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
> line 187, in publish
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Zope/__init__.py, 
>line 221, in zpublisher_exception_hook
> (Object: RoleManager)
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
> line 171, in publish
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py,
> line 160, in mapply
> (Object: Portal_add)
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
> line 112, in call_object
> (Object: Portal_add)
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py, 
>line 172, in __call__
> (Object: Portal_add)
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
> line 528, in __call__
> (Object: Portal_add)
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_With.py,
> line 146, in render
> (Object: Portal.createInObjectManager(REQUEST['id'], REQUEST))
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Let.py,
> line 147, in render
> (Object: RESPONSE="_.None")
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Util.py,
> line 337, in eval
> (Object: portal_registration.addMember(username, password,
> ('Member', 'Manager', 'Reviewer'), '', REQUEST))
> (Info: username)
>   File , line 0, in ?
>   File 
>/users/hog/software/zope/Zope-2.2.0-solaris-2.6-sparc/lib/python/Products/PTKBase/RegistrationTool.py,
> line 174, in addMember
> (Object: portal_registration)
> AttributeError: (see above)
> 
> Is there any thing I also need to do to make this combination work? Do
> I need to use the older MembershipZ stuff?
> 
> Has anyone used the ZSession product with PTK? Again we are storing
> sesssion info in our own database and I would liek to uses Zpatterns
> for this.
> 
> Regards,
> Albert Boulanger
> [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.

Re: [Zope] OT: Website design / spec / development resources

2000-08-26 Thread Kapil Thangavelu

"J. Atwood" wrote:
> 
> Hey Zopers,
> 
> I am looking for some good guidelines in designing, spec'ing and
> developing large complex websites. Anything like guidelines, steps,
> howtos, etc would be much appreciates. From theory to practice.
> 
> Thanks,
> J


Not zope specific, but of a high quality and worth reading even if it is
biased, is philip greenspun's book on web publishing...
http://www.arsdigita.com/asj/books/panda


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 )




[Zope] From date to timestamp

2000-08-26 Thread Peter Be

I managed to go from timestamp to date with


But how do convert a date to timestamp?
I.e. from say: "27/08/00 23:59" to 967322xxx?
All I know to begin with is the day, month and year.

Would be nice if I can do this in DTML straight away.
Is it time.mktime something?


___
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] OT: Website design / spec / development resources

2000-08-26 Thread Tim Cook

Kapil Thangavelu wrote:
> 
> "J. Atwood" wrote:
> >
> > I am looking for some good guidelines in designing, spec'ing and

> 
> Not zope specific, but of a high quality and worth reading even if it is
> biased, is philip greenspun's book on web publishing...
> http://www.arsdigita.com/asj/books/panda
>

FYI,
They've changed the URL on you:
http://www.arsdigita.com/books/panda/

-- Tim Cook --
FreePM Project Coordinator http://www.freepm.org
OS Health Care Alliance Supporter http://www.oshca.org

___
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] From date to timestamp

2000-08-26 Thread Loren Stafford

From: "Peter Be" <[EMAIL PROTECTED]>

> I managed to go from timestamp to date with
> 
>
> But how do convert a date to timestamp?
> I.e. from say: "27/08/00 23:59" to 967322xxx?
> All I know to begin with is the day, month and year.
>
> Would be nice if I can do this in DTML straight away.
> Is it time.mktime something?

It's DateTime(), defined and documented in
../lib/python/DateTime/DateTime.py.

-- Loren




___
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] is possible ?

2000-08-26 Thread Didier Georgieff



I have a lot of REQUEST like this one to check, depending on what 
documents are in the folder.





so i gave all documents concerned 2 properties 
myPropName,myPropValue

(in our example 
myPropName : SOMEREQ
myPropValue : defaultvalue)

So i'm able to iterate the documents and check the properties and 
set the REQUEST.


 
  
 


this works OK.

But, I can't find a way to generate the 
 tag.

Passing the value of myPropName seems to fail (erreur while 
parsing the syntax, or check the 'myPropName' instead of his 
value).
I tried a lot of things and syntax around , but it failed.

Is it a dtml-unless limit, or just a bad syntax i'm writing ?
Thnaks in advance.

___
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] wherefore art thou NotMail?

2000-08-26 Thread tav

i was going to make use of the Bank Holiday weekend by trying out some zope
products that i havent had time to play with... and NotMail was high on my
list.

i managed to install the IMAP server that it needed and went to get the
tarball, and it has gone missing from the zope.org site ;p

can someone please direct me to where i might find this elusive product.
thanks

--
best regards, tav


___
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] Running Zope 2.2.1 as NT service

2000-08-26 Thread Alexander Chelnokov

Hello zope,

The option seems to be unavailable under W2000. 2.1.6 could be run that
way without any trouble.

Best regards,
 Alexander N. Chelnokov
Ural Scientific Institute of Traumatology and Orthopaedics
str.Bankovsky, 7. Ekaterinburg 620014 Russia 
ICQ: 25640913



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