Skip to main content

Plone product for ajax display of available templates for the given content type

Project description

EEA Uberlisting enhances and extends the listing layouts capabilities of Plone.

By default it adds a single uberlisting_view view method to the Folder Content Type, which when set as the default View gives the web visitor the ability to switch between the views that are available for that Content Type, instead of having a fixed one, all from the same template.

Tips and tricks

Choose the right templates to use for this package

  • The python logic that retrieves the contents of the template listings expects the template to implement the listing macro.

    By default all of the Plone templates implement this macro so all templates that come from Plone and those that implement a listing macro to list results should work with the Uberlisting View.

Disable templates from showing up in the Uberlisting View

  • In ZMI > context > manage_properties: Add a ‘lines’ property named bannedUberlistingTemplates.

    Here add one by one the template id’s that you would like to be skipped from the listing.

    ex: folder_summary_view
        folder_contents

Set default template when visiting template for first time

  • In ZMI > context > manage_properties: Add a ‘string’ property named defaultUberlistingTemplate and add the template id that should be used as the default template.

    ex: folder_summary_view

    By default if this property isn’t set and no cookie is present with the name of the default template then folder_listing will be used as default.

Get listing of templates as images instead of template title name

  • This packages looks for a png image to use for the views listing in the format of template id + ‘.png’.

    ex: folder_summary_view.png

    We have provides some images for the common Plone templates as well as some for our own templates, if you need a different style for the icons you can customize them TTW or you can have a skin layer before uberlisting_imgs with images that have the same name.

  • If no images are found then the template name will be displayed in the listing.

  • If you don’t want to have the listing of templates with images and you would prefer to have only template name then In ZMI > context > manage_properties: Add a checked boolean property named ‘noUberlistingTemplateImages

Get enhanced thumbnails when used with eea.depiction

  • If you have eea.depiction installed you can configure a fallback image for the contenttypes that do not have an image field by default, allowing the content to be displayed in a view where the listing would look better with images like album view.

Get enhanced search capabilities when used with eea.facetednavigation

  • If you have eea.facetednavigation installed you can use uberlisting_view as a view for the Faceted Navigation, allowing you to combine the search capabilities of it with the ability to change between views from the same template.

Installation

zc.buildout

If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:

  • Update your buildout.cfg file:

    [instance]
    ...
    eggs =
      ...
      eea.uberlisting
    
    zcml =
      ...
      eea.uberlisting
  • Re-run buildout, e.g. with:

    $ ./bin/buildout

You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.

Dependencies

EEA Uberlisting has the following dependencies:
This package also supports other EEA Packages. Thus the following dependencies are optional:

Source code

Latest source code (Plone 4 compatible):

Funding and project management

EEA - European Environment Agency (EU)

Changelog

1.0 - (2012-10-17)

  • 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

eea.uberlisting-1.0.zip (46.8 kB view details)

Uploaded Source

File details

Details for the file eea.uberlisting-1.0.zip.

File metadata

  • Download URL: eea.uberlisting-1.0.zip
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eea.uberlisting-1.0.zip
Algorithm Hash digest
SHA256 844769168546107dd31608c4dff40797210236c8662dfcd0059bf4f5037018d4
MD5 a2f234b5f0e8491a634f1c7bfb00993f
BLAKE2b-256 2fa39b357881178effd00b1df5f69936c1782c46e43f600e5941160a3d5b90f0

See more details on using hashes here.

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