RE: [Zope] Make folder's default view the contents of an item based on latest date

2007-01-05 Thread Matthew X. Economou
Praful,

Quills (a webblog Product for Zope/Plone) works something like that.
Perhaps you should take a look through its source code for clues as how
to implement your archival mechanism?

Best wishes,
Matthew

-- 
Rogues are very keen in their profession, and know already much
more than we can teach them. - A. C. Hobbs in _Locks and Safes_ (1853)
___
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] Make folder's default view the contents of an item based on latest date

2006-12-28 Thread Praful Kapadia
Hi

I'm using Plone 2.5.1 on Mac OSX 10.4 and Win XP.

I have the following folder structure:

Daily News
All
Archive
2006
Jan
Feb
...

Jan, Feb, etc are smart folder that select items based on their effective
date. This allows news items to be automatically classified.

I'd like users to add items to folder All.

When users click Daily News, I'd like the most recent item to be shown. I
don't want a link to the most recent item but its contents so Daily News
always shows the contents of the most recent news item.

Someone suggested adding a smart folder (say, Latest) under Daily News and
letting it pick items. Then make Latest the default content item for Daily
News. This however results in the items being shown as a list of links in
Daily News. I want the content of the latest always visible under Daily
News.

Any suggests? If I have to code something, please provide clues. I've
developed in many languages but not Python (I'm going through Python in a
Nutshell, at the moment).

Thanks

Praful


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