No description, website, or topics provided.
Python JavaScript CSS Shell
Switch branches/tags
jenkins-eea.uberlisting-sync-430 jenkins-eea.uberlisting-sync-429 jenkins-eea.uberlisting-sync-428 jenkins-eea.uberlisting-sync-427 jenkins-eea.uberlisting-sync-426 jenkins-eea.uberlisting-sync-425 jenkins-eea.uberlisting-sync-424 jenkins-eea.uberlisting-sync-423 jenkins-eea.uberlisting-sync-422 jenkins-eea.uberlisting-sync-421 jenkins-eea.uberlisting-sync-420 jenkins-eea.uberlisting-sync-419 jenkins-eea.uberlisting-sync-418 jenkins-eea.uberlisting-sync-417 jenkins-eea.uberlisting-sync-416 jenkins-eea.uberlisting-sync-415 jenkins-eea.uberlisting-sync-414 jenkins-eea.uberlisting-sync-413 jenkins-eea.uberlisting-sync-412 jenkins-eea.uberlisting-sync-411 jenkins-eea.uberlisting-sync-410 jenkins-eea.uberlisting-sync-409 jenkins-eea.uberlisting-sync-408 jenkins-eea.uberlisting-sync-407 jenkins-eea.uberlisting-sync-406 jenkins-eea.uberlisting-sync-405 jenkins-eea.uberlisting-sync-404 jenkins-eea.uberlisting-sync-403 jenkins-eea.uberlisting-sync-402 jenkins-eea.uberlisting-sync-401 jenkins-eea.uberlisting-sync-400 jenkins-eea.uberlisting-sync-399 jenkins-eea.uberlisting-sync-398 jenkins-eea.uberlisting-sync-397 jenkins-eea.uberlisting-sync-396 jenkins-eea.uberlisting-sync-395 jenkins-eea.uberlisting-sync-394 jenkins-eea.uberlisting-sync-393 jenkins-eea.uberlisting-sync-392 jenkins-eea.uberlisting-sync-391 jenkins-eea.uberlisting-sync-390 jenkins-eea.uberlisting-sync-389 jenkins-eea.uberlisting-sync-388 jenkins-eea.uberlisting-sync-387 jenkins-eea.uberlisting-sync-386 jenkins-eea.uberlisting-sync-385 jenkins-eea.uberlisting-sync-384 jenkins-eea.uberlisting-sync-383 jenkins-eea.uberlisting-sync-382 jenkins-eea.uberlisting-sync-381 jenkins-eea.uberlisting-sync-380 jenkins-eea.uberlisting-sync-379 jenkins-eea.uberlisting-sync-378 jenkins-eea.uberlisting-sync-377 jenkins-eea.uberlisting-sync-376 jenkins-eea.uberlisting-sync-375 jenkins-eea.uberlisting-sync-374 jenkins-eea.uberlisting-sync-373 jenkins-eea.uberlisting-sync-372 jenkins-eea.uberlisting-sync-371 jenkins-eea.uberlisting-sync-370 jenkins-eea.uberlisting-sync-369 jenkins-eea.uberlisting-sync-368 jenkins-eea.uberlisting-sync-367 jenkins-eea.uberlisting-sync-366 jenkins-eea.uberlisting-sync-365 jenkins-eea.uberlisting-sync-364 jenkins-eea.uberlisting-sync-363 jenkins-eea.uberlisting-sync-362 jenkins-eea.uberlisting-sync-361 jenkins-eea.uberlisting-sync-360 jenkins-eea.uberlisting-sync-359 jenkins-eea.uberlisting-sync-358 jenkins-eea.uberlisting-sync-357 jenkins-eea.uberlisting-sync-356 jenkins-eea.uberlisting-sync-355 jenkins-eea.uberlisting-sync-354 jenkins-eea.uberlisting-sync-353 jenkins-eea.uberlisting-sync-352 jenkins-eea.uberlisting-sync-351 jenkins-eea.uberlisting-sync-350 jenkins-eea.uberlisting-sync-349 jenkins-eea.uberlisting-sync-348 jenkins-eea.uberlisting-sync-347 jenkins-eea.uberlisting-sync-346 jenkins-eea.uberlisting-sync-345 jenkins-eea.uberlisting-sync-344 jenkins-eea.uberlisting-sync-343 jenkins-eea.uberlisting-sync-342 jenkins-eea.uberlisting-sync-341 jenkins-eea.uberlisting-sync-340 jenkins-eea.uberlisting-sync-339 jenkins-eea.uberlisting-sync-338 jenkins-eea.uberlisting-sync-337 2.7 2.6 2.5 2.4 2.3 2.2
Nothing to show
Pull request Compare This branch is 28 commits behind eea:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
buildouts/plone4
docs
eea
.gitignore
.travis.yml
CONTRIBUTING.md
MANIFEST.in
README.rst
TODO.rst
setup.cfg
setup.py

README.rst

EEA Uberlisting

http://ci.eionet.europa.eu/job/eea.uberlisting-www/badge/icon http://ci.eionet.europa.eu/job/eea.uberlisting-plone4/badge/icon

Introduction

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

By default this package can enable a view on the Folder, Topic and Collection Content Type, which when enabled it 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.
This listing is accomplished by loading the available template through ajax passing in the the ajax_load parameter set by plonetheme.sunburst to load the page without the columns and resources and then inject the result in the UberlistingView.

How to enable

This view is enabled through an action called Enable UberlistingView which is found within the actions dropdown menu for the content types mentioned in the introduction.

Upgrade

  • As of 2.0 all of the Plone tips and tricks that are described in the section of tips and tricks can be added through the Uberlisting View form allowing therefore users without permission to the ZMI to make changes to the view

Tips and tricks

Javascript tips

Calling javascript on listing load

  • After we load these results we trigger an event which you can hook on in order to modify the listing

    ex: $(window).bind('Uberlisting.Success', function(ev) {
             // Run galleryView on the listing results
             $('#content').galleryView();
        });
    

Modify the returning listing

  • By default when doing the ajax load the load is checking if content-core is available and if so it's content is added in the div with the id uber-view-content.

    If your template doesn't have the content inside the content-core div then it will return the results of the first div it find on the content that was returned from the ajax load.

    Therefore if you want to influence the result or your template doesn't have the content-core id than just wrap the desired content inside of div tag.

Plone tips

  • As mentioned in the upgrade steps these steps no longer need to be added manually, however by visiting manage_properties you can see these properties added after using the view form.

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'

EEA products integration tips

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:

    • Add eea.uberlisting to the list of eggs to install
    • You can skip the ZCML slug since this package is using the z3c.autoinclude include directive
    [instance]
    ...
    eggs =
      ...
      eea.uberlisting
    
  • Re-run buildout, e.g. with:

    $ ./bin/buildout
    

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):

Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

The eea.uberlisting (the Original Code) is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

More details under docs/License.txt

Funding and project management

EEA - European Environment Agency (EU)