#182 — Folder view to display collection in a blog-style

by FairSay last modified May 06, 2009 10:28 AM
State Confirmed
Version: 1.7
Area User interface
Issue type Feature
Severity Medium
Submitted by FairSay
Submitted on Apr 21, 2009
Responsible
Target release: 2.0
The current Quills blog listing is limited to use within a Quills blog. However with QuillsEnabled, a collection can be used to return a list of Quills posts and display it anywhere across the site.

The recommendation is to create a generic 'blog-view' (perhaps based on folder_summary_view.pt). This blog-view is suggested to include the same features as the quills blog listing:

1) Date groupings
2) Tag listing (currently shown as 'filed under) with links
3) Blog lead-in (description), fixed length or full length
4) Comment count
5) Links go to archive url (/2009/04/21/post-title) not to /post-title as currently happens with folder_summary_view)
6) Author (currently not on quills blog listing)
7) If the item is a news item, then also display the lead image

This would allow much more flexible use and re-use ot blog style listing across a site.
Added by FairSay on Apr 21, 2009 09:02 PM
Note: anyone working on this will need to be aware of the bug and work around listed at: http://dev.plone.org/plone/ticket/8463

Basically setting a collection as the default item and selecting the folder summary view as the default view (amoung others) causes a display error.

This issue seems to be working its way through the system so until it is resolved a woraround is necessary 9and once it is fixed, the same fix may need to be applied to the blog-style template)
Added by Jan Hackel on Apr 23, 2009 08:32 AM
Issue state: UnconfirmedConfirmed
Target release: None2.0
This is definitely one of my most wanted, too. It should be in Quills 2.0. It will not make it into 1.7, though.
Added by Tim Hicks on Apr 24, 2009 03:30 PM
Am I missing something, or does this basically amount to a request to be able to 'QuillsEnable' a Collection?

If so, that sounds great. The implementation would be based on writing an adapter from ICollection (or whatever it is) to IWeblog and then following the QuillsEnabled pattern that has been applied to IFolder objects.

I think this makes more sense than just trying to write a custom display view for collections as lots of the code/templates that you want to use depends on being able to find an IWeblog.

Again, shouldn't be too difficult to write the adapter, especially based on the IFolder exampl.e
Added by FairSay on Apr 27, 2009 09:50 AM
Tim,

You are right - this is a request to 'QuillsEnable' a Collection. The adapter approach sounds fine. As I don't know of the best technical approach, I simply described it as made sense to me - but the end result sounds the same.

Added by FairSay on May 05, 2009 11:45 AM
Correction to point 6 'Author (currently not on quills blog listing)' - it is in the blog listing (depending on setting).

So it seems all that might be required is to 'QuillsEnable' a Collection.
Added by FairSay on May 06, 2009 10:28 AM
After Tim's suggestion of using an adapter, I realised I could see if this worked already.

What I can do is:
- 'Activate Blog' for a collection (and the related portlets are added as are other elements of the blog view)

What doesn't work when I do this:
- The items in the collection don't display in the blow view (defined using the criteria and in the test case selected as the folder I have my exisitng blog in)
- The Weblog Admin portlet won't know where to put new blog posts (as Tim raised on the quills dev email list)

No responses can be added.

Filed under: