Skip to main content

A Plone portlet to display similar items to context

Project description

collective.portlet.relateditems

Overview

This is a simple portlet that displays content similar to the present context. Related items are compiled based on the context title and keywords. In case of a folderish context related items are computed based on the contents of the folder and the folder information.

Status

The relateditems portlet is used in production. See http://www.v2.nl

Options

The portlet has the following options available to it on the Add screen.

  • count

    This is the number of recent items that will be shown in the portlet.

  • states

    The workflow states the items must be in to be shown in the portlet.

  • allowed_types

    The allowed types to be shown in the portlet and the ‘more…’ link search

  • show_all_types

    Choose whether or not all types should be available for the ‘more…’ link. This will search for all content types when clicking on ‘more…’

  • portlet_title

    Title in portlet.

  • only_subject

    If selected, we will search only on content subject.

  • display_all_fallback

    If selected, we will display all llowed items where there are no results for our current related items query

  • display_description

    If selected, we will show the content short description

Repository

Change History

0.3.4 - 2011-05-17

  • adapting to changes in Plone 4.1 (thanks to Daniel Marks/Netsight Internet Solutions)

0.3.3 - 2011-05-12

  • Merging some i18n features [DavidJonas]

  • Translations Danish and Czech thanks to Roman Kozlovskiy and Radim Novotny

0.3.2 - 2011-02-15

  • Bugfix for error: “ParseError: Token ‘ATOM’ required, ‘Not’ found” [DavidJonas]

0.3.1 - 2010-03-05

  • Fix ImportException -> ImportError [kiorky]

  • Fix leadimage checks when you don’t have leadimage [kiorky]

  • Let the use filter only on subject if he wants [kiorky]

  • Let the user configure if he want to use the last items where there are no related items found as a fallback [kiorky]

  • Let the user choose the portlet title [kiorky]

  • Let the user choose to display the content description [kiorky]

0.3.0 2009-12-30

  • Related items use image tile instead of thumb.

0.2.9 2009-05-27

  • Minor changes regarding the dates of events.

0.2.6 2009-05-07

  • Bug fix.

  • Added classes to improve CSS.

0.2.5 2009-05-01

  • Bug fix: hard dependency to contentleadimage removed.

0.2.4 2009-04-30

  • Bug fix: files types like Image and File did not appeared in sea.

  • Bug fix: portlet rendered bug in admin pages.

  • Bug fix: title of non folder items (with references) was not included in the search.

0.2.3 2009-04-03

  • Bug fix: related items did not appear in some collections.

0.2.2 2009-03-31

  • Manual selected related items are used as a search query (references and backreferences);

0.2.1 2009-03-26

  • Bug fix: related items did not appear in some collections.

0.2 2009-03-25

  • Related items for folderish items (folder, collection, etc)

0.1 2009-03-23

  • Initial package structure. [zopeskel]

Supported by

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