{ "info": { "author": "David Glick", "author_email": "david@glicksoftware.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\n.. image:: https://secure.travis-ci.org/collective/collective.weightedportlets.png?branch=master\n :alt: Travis CI badge\n :target: http://travis-ci.org/collective/collective.weightedportlets\n\n.. image:: https://pypip.in/d/collective.weightedportlets/badge.png\n :alt: Downloads\n :target: https://pypi.python.org/pypi/collective.weightedportlets\n\nThe Plone portlets system gives site managers a powerful system for assigning\nportlets to different sections, content types, and groups. However, there is a\npredefined order in which portlets coming from these sources are displayed. So\nthere is no built-in way to, for instance, specify that one contextual portlet\nshould appear above any inherited portlets and another one should appear below\nthem.\n\nThis product addresses that limitation by adding to each portlet assignment a\n\"weight\" field on the portlet management pages, where an integer can be\nspecified (it defaults to 50). The full list of portlets will be retrieved in\ntheir standard order; then a final sort based on the weight will be applied\nbefore the portlets are displayed. Portlets with a lower weight will be sorted\nto the top, while portlets with a higher weight will be sorted to the bottom.\n\nSo, for example, if I wanted to display one contextual portlet above all\ninherited portlets and one contextual portlet below all inherited portlets,\nI could set their weights to 40 and 60 respectively.\n\nNote that adjustments to the portlet order are saved via an AJAX request; you\ndon't have to press a button and reload the page to save the new weights.\n\nImport and export of portlet assignment weights via GenericSetup is also\nsupported.\n\n\nInstallation\n============\n\nAdd the collective.weightedportlets egg to your buildout. If using Plone\n3.1 or 3.2, make sure you add its ZCML as well. The ZCML should be\nloaded automatically in Plone >= 3.3.\n\nStart Zope and install \"Weighted Portlet Ordering\" via the Add/Remove Products\npanel in Site Setup.\n\n\nCompatibility\n=============\n\nThis product requires Plone 3.1 or greater.\n\nThis product operates by overriding the following parts of the portlet\nmachinery. You may run into problems if using other products or custom\ncode that also overrides these components:\n\n* the template macros used to render the portlet management UI\n* the IPortletRetriever adapter\n* the IPortletAssignmentExportImportHandler adapter\n\n\nSelf-certification\n==================\n\n* [X] Internationalized\n* [X] Unit tests\n* [X] End-user documentation\n* [X] Internal documentation (documentation, interfaces, etc.)\n* [X] Existed and maintained for at least 6 months\n* [X] Installs and uninstalls cleanly\n* [X] Code structure follows best practice\n* [X] No side effects on Plone sites where not installed\n\n\nCredits\n=======\n\nDavid Glick [davisagli]\n\nThanks to Martin Aspeli for the Plone 3 portlet system.\n\nChange history\n==============\n\n1.2 (2017-09-05)\n----------------\n\n* Support plone.portlets 2.3\n [montypie]\n\n1.1 (2013-10-16)\n----------------\n\n* Submit changes to portlet weights using jQuery rather than KSS.\n\n This makes the addon compatible with Plone 4.3.\n\n You must run the upgrade step to install the javascript.\n \n [AdCastle, davisagli]\n\n1.0 (2009-10-12)\n----------------\n\n* Override the portlet edit macros in a way that is more compatible with\n ongoing changes in the base template from plone.app.portlets.\n [davisagli]\n\n1.0rc2 (2009-05-04)\n-------------------\n\n* Add version.txt so the version shows correctly in Plone <3.3.\n [davisagli]\n \n* Fixed last-minute typo that made it into the edit macros.\n [davisagli]\n\n1.0rc1 (2009-05-01)\n-------------------\n\n* Initial release.\n [davisagli]", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://plone.org/products/collective.weightedportlets", "keywords": "plone portlets", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "collective.weightedportlets", "package_url": "https://pypi.org/project/collective.weightedportlets/", "platform": "", "project_url": "https://pypi.org/project/collective.weightedportlets/", "project_urls": { "Homepage": "http://plone.org/products/collective.weightedportlets" }, "release_url": "https://pypi.org/project/collective.weightedportlets/1.2/", "requires_dist": null, "requires_python": "", "summary": "Adds the ability to tweak portlet ordering by giving each portlet a weight.", "version": "1.2" }, "last_serial": 3150038, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "60e09cbf5cfe3ee6a3a93508046193d7", "sha256": "709e5170e853dc2795f4b613e142d529143ad3fdb96afd7c60864acd795bdc08" }, "downloads": -1, "filename": "collective.weightedportlets-1.0.zip", "has_sig": false, "md5_digest": "60e09cbf5cfe3ee6a3a93508046193d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26770, "upload_time": "2009-10-12T18:27:08", "url": "https://files.pythonhosted.org/packages/27/2c/2a2bf3a6e4e6b9e5fb94b14cb8e36e6bb0ad843b3fd9b1940da0e02eef74/collective.weightedportlets-1.0.zip" } ], "1.0rc1": [ { "comment_text": "", "digests": { "md5": "ee43ea35e86995e4e4a4dc13b4b7289c", "sha256": "fe8a780b7ef6933e734bf337a3a265eb9af7d9a10ac1ba992d1739b0fffc796e" }, "downloads": -1, "filename": "collective.weightedportlets-1.0rc1.tar.gz", "has_sig": false, "md5_digest": "ee43ea35e86995e4e4a4dc13b4b7289c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15082, "upload_time": "2009-05-01T21:13:03", "url": "https://files.pythonhosted.org/packages/5b/0a/e6f2900dda8b838bf023ebdee8424ad6ca979acbaed4d1b899d0611099f0/collective.weightedportlets-1.0rc1.tar.gz" } ], "1.0rc2": [ { "comment_text": "", "digests": { "md5": "301a12d51516345dd1eb223f337cc2a9", "sha256": "a6e0357232768dbc661b65ecf4ce054898c635875580a9ab4e8db069d10a5e78" }, "downloads": -1, "filename": "collective.weightedportlets-1.0rc2.tar.gz", "has_sig": false, "md5_digest": "301a12d51516345dd1eb223f337cc2a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15269, "upload_time": "2009-05-04T21:56:25", "url": "https://files.pythonhosted.org/packages/51/6f/ddfe8c6052a3ce8ca4e6d7875d24141336b9127860758cae839823d70bba/collective.weightedportlets-1.0rc2.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "ba7e0dcd974868de02052b6a15e8f1e2", "sha256": "eee0b43b8e8d60cf2b1861aa81a5d8d3d32af120aab70bf61219d882667c31f0" }, "downloads": -1, "filename": "collective.weightedportlets-1.1.zip", "has_sig": false, "md5_digest": "ba7e0dcd974868de02052b6a15e8f1e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32239, "upload_time": "2013-10-17T02:12:58", "url": "https://files.pythonhosted.org/packages/3e/3e/2d67dedce70b6ad32254c442253f11dbcfb6b7f2223ca3265ae4295c2ae1/collective.weightedportlets-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "bee1bda8ead03d8fb16e7904556fedc0", "sha256": "69377c52fbc939d6f22e3e7182591ddaeb77c94bc8ee8a789ee8283045606dd3" }, "downloads": -1, "filename": "collective.weightedportlets-1.2.tar.gz", "has_sig": false, "md5_digest": "bee1bda8ead03d8fb16e7904556fedc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18298, "upload_time": "2017-09-05T11:17:23", "url": "https://files.pythonhosted.org/packages/a6/86/2f555402c77b4afd43f9041fc649957d18cfde4cadb322d4094b519232c8/collective.weightedportlets-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bee1bda8ead03d8fb16e7904556fedc0", "sha256": "69377c52fbc939d6f22e3e7182591ddaeb77c94bc8ee8a789ee8283045606dd3" }, "downloads": -1, "filename": "collective.weightedportlets-1.2.tar.gz", "has_sig": false, "md5_digest": "bee1bda8ead03d8fb16e7904556fedc0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18298, "upload_time": "2017-09-05T11:17:23", "url": "https://files.pythonhosted.org/packages/a6/86/2f555402c77b4afd43f9041fc649957d18cfde4cadb322d4094b519232c8/collective.weightedportlets-1.2.tar.gz" } ] }