Skip to main content

Introduction

This package provides a portlet that lists your folder contents.

Overview

The collective.portlet.foldercontents package adds a new Plone site portlet called Folder Contents. It gives you the ability to list contents of the folders in your site. It also provides a way to display images which can be selected from your site content. And a bit more… See below for details.

Compatibility

This add-on was tested for Plone 3 and Plone 4.

Installation

  • to add the package to your Zope instance, please, follow the instructions found inside the docs/INSTALL.txt file

  • then restart your Zope instance and install the Folder Contents portlet package from within the portal_quickinstaller tool

Portlet Usage

The Folder Contents portlet owns a bunch of fields. Here we explain how it works, including the fields relations:

  • Folder title as a portlet header. If selected, the referenced folder title will be used as a portlet header, and the field Header will be ignored.

  • Header. Specifies the portlet header. If above option is selected then this field will be ignored.

  • Folder description as a portlet body. If selected, the referenced folder description will be used as a portlet body, and the field Portlet Body will be ignored.

  • Portlet Body. Specifies portlet body. If above option is selected then this field will be ignored.

  • Select folder. You have to select folder from drop-down menu and portlet will display contents of this folder. If you don’t see any folders there then you probably don’t have any folders in your site. Also you may use search box to find required folder. Finally don’t forget to press Apply button.

  • Number of folder items to show. Specifies the number of items to display in folder listing. Set 0 to show all items.

  • Image. If you need to display image in a portlet above folder listing then here you may select an image previously added in your site.

  • Image Scale. Specifies image scale for image selected in the field ‘Image’. You can specify here a specific custom scale that is defined in your custom content type of standard one that goes with Plone by default.

  • Default Image Scale List. Here you can pick one of the available scales. It will be used only if Image Scale field is empty. This field is only available in Plone >= 4 version where we have ‘Imaging’ control panel.

  • HTML Class Name. Specifies html class for portlet wrapper element. Usefull for custom portlet styling so that you can apply different styles for your folder contents portlets.

  • More link. If checked, ‘…more’ link pointing to selected folder will be shown in portlet.

Live Examples

Credits

Companies

martinschoel

Authors

Contributors

Changelog

1.0 - April 11, 2011

  • Initial release. All functionality works in Plone 3 and Plone 4. [piv]

Release files for collective.portlet.foldercontents 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.portlet.foldercontents 1.0
File Size Uploaded
collective.portlet.foldercontents-1.0.tar.gz 20.7 kB Details

Release files / collective.portlet.foldercontents-1.0.tar.gz

Download URL collective.portlet.foldercontents-1.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
221e54d13e0b5ac883eb6d8685168346ae60c3be0932f945392f3f690595897c
BLAKE2b-256 checksum
How to use checksums
bbe366538529754066005d0eda5e9052a7f67280affc4e23b8fdac01224d5fca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page