Skip to main content

A Plone portlet that shows a focus item.

Project description

https://secure.travis-ci.org/unice/unice.portlet.focus.png

Introduction

This portlet shows a focus item as focus in the portlet. It’s LinguaPlone aware, and is initially created to provide a language-dependent address footer.

Author: Lennart Regebro <regebro@gmail.com>

Development funded by the Nordic Council and Nordic Concil of Ministers. http://www.norden.org/

Compatibility

The product is compatible with Plone 3 and Plone 4.

Installing

Add unice.portlet.focus to your buildout and re-run buildout. Install the product in your Plone site using the Plone Control Panel (prefs_install_products_form) or the ZMI’s portal_quickinstaller.

Using

Go to @@manage-portlets. If the product was installed properly, you’ll have the option to add a Focus Portlet.

Next, select a focus item to display. It can be any type of item. You can select which of the item’s fields you want to display in the portlet’s focus area:

  • Title (either as a link to the focus item or as plain text)

  • Description

  • Date

  • Body text

  • Image

When the focus item doesn’t have a selected field, it should work without errors, but you’d obviously not see the field in the portlet.

You can set these options separately:

  • portlet’s title as shown in @@manage-portlets screen

  • portlet header title as rendered on page (use focus’s title or select custom)

  • hide portlet header altogether

  • conditionally show a portlet footer with a link to the focus item (link text is configurable)

  • disable the portlet border

To do

  • tests

Changelog

1.0 (unreleased)

  • Added German translation and moved portlet title and description to i18:domain plone to make them translateable in the add portlet dropdown, too [fRiSi]

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

unice.portlet.focus-1.0.tar.gz (17.2 kB view details)

Uploaded Source

File details

Details for the file unice.portlet.focus-1.0.tar.gz.

File metadata

File hashes

Hashes for unice.portlet.focus-1.0.tar.gz
Algorithm Hash digest
SHA256 274df51b3c20401b48754d02d97a2500f865533dfa8b4001ccb70ae26ae74d75
MD5 83ee0f819aecca6b3bf15dc144c0d3fb
BLAKE2b-256 ea1cb9ffa08dc0af4dbff060727f25a6b583e20d69df223777e1bd6705c5f95a

See more details on using hashes here.

Supported by

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