Re: [Zope] Folder Listing as a Plone Portlet Mini-HOWTO (draft)

2005-04-01 Thread David Convent
Matthew X. Economou wrote:
http://web.irtnog.org/Members/xenophon/plone/portlet-folder-contents
This folder listing portlet displays the title of the folder, its
description, and a list of each item in the folder.  Mousing over each
link pops up its description in browsers that understand the title
anchor (A) tag attribute.
Your comments and suggestions are greatly appreciated!
 

Plone now uses catalog queries to build folder listings, it avoids 
waking up all objects and slow down the server response.
Consider using it, your portlet as it is written now can slow down the 
browsing of a folder containing a large amount of objects.
HTH,

Best wishes,
Matthew
___
 

___
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] Folder Listing as a Plone Portlet Mini-HOWTO (draft)

2005-04-01 Thread Matthew X. Economou
 -Original Message-
 From: David Convent [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 01, 2005 3:30 AM
 
 Plone now uses catalog queries to build folder listings, it avoids
 waking up all objects and slow down the server response.
 Consider using it, your portlet as it is written now can slow down
 the browsing of a folder containing a large amount of objects.

I don't understand this.  Would you point out the relevant documentation
or source code?  As it is, portlet_folder_contents is a hack and
probably only suitable for small folders.  In my case, I intended to use
it to create a small box of links (no more than five or six), without
having to go to the ZMI all the time to change the portlet's contents.

Best wishes,
Matthew
___
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 )