Skip to main content

Provides folderish types as a replacement for some ATContentTypes

Project description

Introduction

Provides the types “Folderish Event”, “Folderish News Item” and “Folderish Document” as replacements for their ATContentTypes equivalents. Those types are able to hold any other content, like a Folder.

There is a “listing_viewlet” and “portlet” profile, which show the contents of the folderish types in a viewlet or portlet respectively.

You can limit the types, which can be added to FolderishTypes by providing a Generic Setup import type configuration.

The reason for this package is, that in my experience it’s easier to group related content together at one place. An article about something fancy might have an image gallery associated with it as well as some pdf-downloads. With this package you can put everyting inside the article. Another use case is that you can structure content hierarchically and don’t need to define “default pages” - a concept hard to understand and handle (see: http://www.sixfeetup.com/blog/plone-vs.-drupal-core-features-comparison )

Alexander Limi also wished folderish content back in 2008: “#10: Content re-use is overrated — people like folderish” http://limi.net/articles/18-things-i-wish-were-true-about-plone/

TODO

  • Write tests

  • The folderish content viewlet seems to be shown regardless if it was registered via Generic Setup. Fix that.

  • Check, if folderish types implement all interfaces from the types they derive from. if not, implement them also.

Tested with

Plone 4

Author

Johannes Raggam <johannes@raggam.co.at>, BlueDynamics Alliance

Changelog

1.0b2 (2011-03-10)

  • Make portlet registration optional and register portlets only for folderish types. [thet]

  • Updated folder_listing.pt and folder_summary_view.pt to current Plone trunk. [thet]

1.0b1 (2011-02-18)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.folderishtypes-1.0b2.tar.gz (20.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page