A Plone portlet that shows a telechargement item.
Project description
Introduction
This portlet shows a telechargement item as telechargement 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.telechargement 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 Telechargement Portlet.
Next, select a telechargement 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 telechargement area:
Title (either as a link to the telechargement item or as plain text)
Description
Date
Body text
Image
When the telechargement 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 telechargement’s title or select custom)
hide portlet header altogether
conditionally show a portlet footer with a link to the telechargement 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for unice.portlet.telechargement-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fcf2b9f38a23b3f470ce1fef249b98020355dc05cc129dc033dfd936ea0dd38 |
|
MD5 | 40088aec0d3b00721cc5657ba61bede4 |
|
BLAKE2b-256 | 40ea29935dc1659baeb4017fec80bd7d97c6d134d8f7b4d2502ebf05e3d34774 |