An add-on for Plone
Project description
collective.iconifiedcategory
Installation
Install collective.iconifiedcategory by adding it to your buildout:
[buildout] ... eggs = collective.iconifiedcategory
and then running bin/buildout
Contribute
License
The project is licensed under the GPLv2.
Contributors
Martin Peeters, Original Author [Affinitic]
Changelog
0.13 (2017-02-09)
Makes collective-iconifiedcategory.css cacheable and cookable to avoid recomputing it for every pages. We call portal_css.cookResources when a category is added or moved. Not necessary to recook for subcategory as it uses same CSS class as parent category. [gbastien]
0.12 (2017-02-09)
Do not fail in utils.get_categorized_elements if context does not have the categorized_elements OrderedDict. [gbastien]
0.11 (2017-02-07)
Use a batchSize of 999 in the tabview to show every categorized elements. [gbastien]
In utils.get_categorized_elements, do not do the catalog query if the categorized_elements dict is empty. [gbastien]
0.10 (2017-02-05)
Only check can_view if current element is confidential, moreover only instanciate the IIconifiedContent adapter to check for can_view when element is confidential. [gbastien]
0.9 (2017-01-31)
Adapted CSS selector that changes font-size of number of categorized elements displayed in the tooltipster [gbastien]
Added a way to defer the categorized_content_created event and to defer call to utils.update_categorized_elements in the categorized_content_updated event. This way we may manage adding several categorized elements but only updating the categorized_elements dict (including time consuming sorting) at the right time [gbastien]
Fixed tests to work in both Plone 4.3.7 and Plone 4.3.11 [gbastien]
0.8 (2017-01-25)
Do not fail in categorized-childs-infos if current context does not have the categorized_elements dict [gbastien]
0.7 (2017-01-23)
Use category_uid instead category_id as key for infos dict used by CategorizedChildInfosView, indeed we may have different configurations used on same container for different categorized elements and those configurations may contain categories with same id [gbastien]
Do not break if icon used for iconified category contains special characters [gbastien]
0.6 (2017-01-17)
Use ajax to display the categorized childs informations [gbastien]
Display select2 widget larger and with no padding between options so more options are displayed together [gbastien]
Added option show_nothing=True to the categorized-childs view to be able to show/hide the ‘Nothing’ label when there is no categorized content to display [gbastien]
0.5 (2017-01-13)
Do not fail in utils.sort_categorized_elements if a key is not found, it can be the case when copy/pasting and new element use another configuration [gbastien]
0.4 (2017-01-12)
Sort categorized_elements by alphabetical order into a category, this way it can be directly displayed as it in the tooltipster or in the tabview without having to sort elements again [gbastien]
Add method IconifiedCategoryGroupAdapter.get_every_categories that gets every available categories. Mainly made to be overrided, it is used in utils.get_ordered_categories to manage the fact that a container could contain categorized elements using different group of categories [gbastien]
Add a configlet to allow user to sort elements on title on the categorized tab view [mpeeters]
Ensure that categorized elements are sorted by group folder order [mpeeters]
Refactoring of iconified JavaScript functions [mpeeters]
Increase speed that show the categorized elements in the tooltipster. [gbastien]
Do not fail to remove the Plone Site if categories or subcategorie exist. [gbastien]
0.3 (2016-12-21)
Changed icon used with link to More infos. [gbastien]
Do not fail if subcategory title contains special characters. [gbastien]
Turn icon more_infos.png into a separated resource, in addition to other resources stored in the static folder declared as resourceDirectory, so it is easy to override. [gbastien]
0.2 (2016-12-07)
Use javascript:event.preventDefault() when clicking on the tooltipster root element to avoid the link action that will change the current url. [gbastien]
Open More infos link in target=_parent so it opens in the _parent frame when displayed in an iframe, namely outside the iframe. [gbastien]
0.1 (2016-12-02)
Initial release. [mpeeters]
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
File details
Details for the file collective.iconifiedcategory-0.13.tar.gz
.
File metadata
- Download URL: collective.iconifiedcategory-0.13.tar.gz
- Upload date:
- Size: 60.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbf2de42f03e946de2c72f6baace8c6e5b65cc4fafd2d02b0e8132e3f78f9d93 |
|
MD5 | 9ce13831f911e343621c6ab72a1a4a20 |
|
BLAKE2b-256 | e2ffc475b3615eba14e07265a67e565a073e2c2c599b60a55fd1fc2f218a228a |