[Zope] Re: dtml-tree puzzling behaviour!

2000-06-01 Thread Patrick J.M. Keane

"Patrick J.M. Keane" wrote:

 This is REALLY weird.

 I have a dtml-tree in a DIV panel (there are others).  If I expand any
 branch of the tree, all of the javascript (and imagemaps, and everything
 else in other div panels become disabled (in Netscape 4.7 under linux).

So, the answer has SOMETHING to do with the

#whatever=

that trails at the end of the URL.  When this is removed, all is well.  Is
this just a HREF anchor jump?  The answer might possibly be for me to
eliminate it from my python tree code, unless it serves some other purpose
(not serving a purpose for me, these are small trees).

So, am I wrong to think you can use a NAME= anchors in a DIV tag?
I would assume so, but Netscape does render DIVs in a sort of bizzare way,
so perhaps you cannot.  In which case, this has nothing to do with zope,
but more to do with Netscape.  Well, that sucks. :)

Anyway to work-around this within the dtml-tree code by modifying tree-s
or e or c?  I'd like to have a fix so that if you click on a [+] you get a
URL back with no trailing #placefinder.

pk



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




[Zope] Question about dtml-in sorting

2000-05-30 Thread Patrick J.M. Keane


Does sort only sort in one direction?  I am looking to sort news items
so that the newest items are on top, and when sorting on a date field,
I get the opposite behaviour.  Any easy way to reverse the sort order?

Thanks
pk



___
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] Oh

2000-05-30 Thread Patrick J.M. Keane


Regarding my reverse sort question.  I guess the answer is, just because
it isn't documented, doesn't mean it isn't already there. :)

I found it.

pk



___
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] Another question

2000-05-29 Thread Patrick J.M. Keane


By default, when a new instance of a ZClass is created, it is dropped
into the same directory as the calling forms and instance creation
methods... Is there an easy way to designate the final location for the
instance.  Say, as an example that I had administrative methods and
documents all under foo/admin, but wanted new products to be placed in a
parallel directory such as foo/toys, so that the permissions could be
properly set for admin, allow just managers to access those methods,
while letting the results show publicly in foo/toys?

Thanks
pk



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

2000-05-28 Thread Patrick J.M. Keane


Anyone else getting 5 copies of the same message, or is it just me?




___
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] Hot backups

2000-05-28 Thread Patrick J.M. Keane


Is there any facility in Zope for doing a hot backup, without shuting
down zope, taking a backup copy of var -- can this result in
inconsistencies in the internal DB, or does it use something mystical to
prevent corruption?  If not, what other options exist for this?

Thanks
Patrick



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