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

Praful Kapadia kapadia at pensioninsurancecorp.com
Thu Dec 28 16:37:49 EST 2006


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




More information about the Zope mailing list