{ "info": { "author": "Jarn [Denys Mishunov]", "author_email": "info@jarn.com", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "---------\nOverview.\n---------\n\ncollective.carousel is the package that lets you add \"carousels\" of items in\nyour Plone site. More than one carousels on one page are supported.\n\ncollective.carousel is based on `Scrollable`__ plugin for `JQuery Tools\nlibrary`__.\n\n .. |---| unicode:: U+2014 .. em dash\n .. __: http://flowplayer.org/tools/scrollable.html\n .. __: http://flowplayer.org/tools/index.html\n\nHow to get a carousel?\n======================\n\nWork of carousel is based on one assumption |---| you already have a\ncollection that returns results for showing in the carousel.\n\nCarousel can be added in 2 ways:\n\n * as a viewlet above page's title (content carousel);\n * as a portlet to any portlet manager in your site.\n\nCarousel above page's title (Content carousel).\n-----------------------------------------------\n\n * Go to ``Edit`` tab on a page where you want to add a carousel;\n * go to ``Settings``;\n * add a collection that will provide content for carousel to ``Carousel\n object`` field;\n * if you want to add more than one carousel, add more collections to the\n same field;\n * after saving your page, you should see the carousel(s) above your page's\n title if the collection(s) you chose for the carousel(s) returns any\n elements.\n\nCarousel in a portlet.\n----------------------\n\n * On a page where you want to add a carousel click ``Manage portlets`` in\n one of the columns of your site;\n * choose ``Carousel portlet`` from ``Add portlet...`` menu;\n * collection portlet is a derivative from standard collection portlet in\n Plone, hence the same fields are available for this type of portlets as\n well;\n * fill out the fields in the form specifying a collection that will\n provide content for the carousel portlet.\n\n**NOTE** content carousels are not inheritable while carousel portlet is\ninheritable as any other portlet in a Plone site. This means that when you add\na content carousel to a folder, the same carousel will not be shown on any\nobject within that folder. At the same time if you add a carousel portlet on a\nfolder, that portlet will be shown for all objects within the folder that\ndon't explicitly block parent portlets.\n\nTips\n====\n\nWhat if I want to move carousel to another place?\n-------------------------------------------------\nContent carousel is defined with a regular viewlet. This lets you to move that\nviewlet to any place in your site the same way you would do with any other\nviewlet. Read `Moving a viewlet from a viewlet manager to another one`__ for\nmore info on how to move viewlets from one viewlet manager to another.\n\n .. __: http://plone.org/documentation/tutorial/customizing-main-template-viewlets/moving-a-viewlet/\n\nHow do I customize carousel's view?\n-----------------------------------\ncollective.carousel provides a flexible way of customizing the look of items,\nshown in a carousel based on a content type of the item. collective.carousel\ncomes with 2 bundled views that are available for items, rendered in a\ncarousel:\n\n * `browser/templates/news_item_tile.pt` |---| defines how News Items should\n be rendered in a carousel;\n * `browser/templates/default_tile.pt` |---| how all the rest content types\n should be rendered in a carousel.\n\nIf you need to either override one of the existing views or define a new view\nfor any content type you can do this from your package using ZCML\nregistartion. Please take a look at `browser/configure.zcml` and\n`testing.zcml` for examples of such registrations. Note that there are pages\nwith 2 different names:\n\n * `carousel-view` |---| defines a view for a content type in content\n carousel;\n * `carousel-portlet-view` |---| the view for a content type when shown in a\n carousel portlet.\n\nSo if you need to override/register a view for any specific content type for\ncontent carousel, your `` has to have `carousel-view` name. In\ncase you want to override/register a view for carousel portlet, name should be\n`carousel-portlet-view`.\n\nI need to do something once the carousel is fully loaded.\n---------------------------------------------------------\nThe simplest use-case |---| you have some content carousels placed in a row\nside by side. Most probably your carousels have different heights and that\ndoesn't look nice when they are placed side by side. So you want to equalize\nthe heights of these carousels with Javascript so that your carousels have the\nsame height. Since collective.carousel already binds ``load()`` event to each\ncarousel (resizing the carousel to fit all of it's content) you can not bind\none more ``load()`` event to a carousel because due to the nature of\n``load()`` event it might be fired too early when not all content of a\ncarousel is loaded.\n\nFor the cases like this collective.carousel provides custom Javascript event\n``resized.carousel`` that you can attach your special handlers to. Moreover\neach carousel returns it's height that can be accessed in ``resized.carousel``\nevent.\n\nHere is a simple code snippet of how to adjust the heights of carousels with\nJQuery::\n\n $(\"#my-container .carousel\").bind('resized.carousel', function(event, newheight) {\n $(\"#my-container .carousel\").each(function() {\n if ($(this).height() < newheight) $(this).height(newheight);\n });\n });\n\n\nDeveloped by **Jarn AS** |---| http://www.jarn.com\n\nDevelopment sponsored by the **Bergen Public Library** |---|\nhttp://www.nettbiblioteket.no\n\nDexterity\n=========\n\n`collective.carouselbehaviour`_ provides Dexterity-based (``plone.app.dexterity``) content types support.\n\n .. |---| unicode:: U+2014 .. em dash\n .. _collective.carouselbehaviour: http://pypi.python.org/pypi/collective.carouselbehaviour\n\n\n\nChangelog\n=========\n\n1.7 (2014-04-30)\n----------------\n\n- Edited the css/html/js so that carousel uses the .collective.carousel\n selector. Fixes this issue: \n https://github.com/collective/collective.carousel/issues/13\n [pigeonflight]\n\n- Play/Autoscroll the carousel again, when the mouse leaves the carousel.\n [thet]\n\n- Remove skins layer and register css and js browser resources. Don't use dtml\n css anymore but let integrators overload styles via own css. Optimize\n javascript and CSS.\n [thet]\n\n- Added description for dexterity support\n [bogdangi]\n\n\n1.6.2 - August 28, 2013\n-----------------------\n\n- Allow configuring of image_scales in portlets.\n [thet]\n\n- Added MANIFEST.in to prevent issues with packaging.\n [bogdangi]\n\n\n1.6.1 - May 2, 2013\n-------------------\n\n- Remove stale pdb statement.\n [thet]\n\n\n1.6 - April 11, 2013\n--------------------\n\n- Depend on plone.app.jquerytools and include the scrollable plugins. Include\n an Upgrade step for it (Upgrade 1 to 2).\n [thet]\n\n\n1.5 - March 2, 2013\n-------------------\n\n- Support for new-style Collection type keeping backwards-compatibility\n support for the old-style Topic\n [mishunov, ableeb]\n\n- Don't base the carousel portlet on the collection one since it brings quite\n some unnecessary fileds that don't make sense in this context.\n [mishunov]\n\n- Reduced the default rotation time for a carousel to 10 seconds.\n [mishunov]\n\n- Replace '$' with 'jQuery' in the javascript to avoid unnecessary integration\n conflicts.\n [mishunov]\n\n- We use plain CSS instead of the images for the arrows.\n [mishunov]\n\n- Updated bundled jQueryTools to 1.2.5 and removed 'scrollable' module from\n the local copy.\n [mishunov]\n\n- Complete revert of djay's changes to the javascript.\n [mishunov]\n\n- Add French translation.\n [toutpt]\n\n1.4 - January 27, 2011\n----------------------\n\n- Spanish translation.\n [hvelarde]\n\n- Czech translation.\n [lzdych]\n\n- More settings for carousel portlet.\n [djay]\n\n- Pause carousel on :hover.\n [djay]\n\n- Leadimage tile.\n [djay]\n\n- Danish translation\n [stonor]\n\n- Portuguese translation\n [davilima6]\n\n1.3 - July 6, 2010\n------------------\n\n- Fixed norwegian translation\n [sh]\n\n- Actual russian translation missing in previous release\n [spliter]\n\n1.2 - June 30, 2010\n-------------------\n\n- Russian translation\n [spliter]\n\n1.1 - June 30, 2010\n-------------------\n\n- Norwegian translation\n [sh, ggozad]\n\n- Brazilian-Portuguese translation\n [davilima6]\n\n- Added i18n support\n [stonor]\n\n- Fixed the height of the carousel for cases when items are shorter than the\n carousel's height declared in CSS.\n [spliter]\n\n1.0 - April 15, 2010\n--------------------\n\n- Added information about 'resized.carousel' event to README.txt\n [spliter]\n\n- Custom 'resized.carousel' event for being able to bind custom\n handlers to the moment when a carousel is re-sized.\n [spliter]\n\n- Limit number of items returned by a carousel to 7.\n [spliter]\n\n- Adjusted slightly to work on Plone 4.\n [hannosch]\n\n- Initial release\n [spliter]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/collective.carousel", "keywords": "plone zope collection carousel", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.carousel", "package_url": "https://pypi.org/project/collective.carousel/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.carousel/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/collective/collective.carousel" }, "release_url": "https://pypi.org/project/collective.carousel/1.7/", "requires_dist": null, "requires_python": null, "summary": "Add-on for having Collections' results presented as a nice carousel", "version": "1.7" }, "last_serial": 1076499, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "eb15734772b61ab99e5635af520ecd11", "sha256": "5d9fbc47a627232b83bc163875f632902996dc4ee74daa5ee19e065777e190ce" }, "downloads": -1, "filename": "collective.carousel-1.0.zip", "has_sig": false, "md5_digest": "eb15734772b61ab99e5635af520ecd11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45061, "upload_time": "2010-04-15T21:34:33", "url": "https://files.pythonhosted.org/packages/7b/e0/ad0da87898dd4ae09d5ea79749e7208c26e0da59bbbb5fe32fe08cdf12af/collective.carousel-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "0d45d6569823a7cf57b0b501d89f7cb1", "sha256": "b9c23cfddc5ce39cc30b6a5597d915e5209899c27e8632cfcd0cdcf4e68ee861" }, "downloads": -1, "filename": "collective.carousel-1.1.zip", "has_sig": false, "md5_digest": "0d45d6569823a7cf57b0b501d89f7cb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49765, "upload_time": "2010-06-30T16:09:46", "url": "https://files.pythonhosted.org/packages/a2/17/2da8a588387787341b8dbe931b7730234cc4e8920896a89a8f85f0591656/collective.carousel-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "9e643ccd64ce4e7dfb82cc7759021cdb", "sha256": "ee87e55f3fdb6c8a8cec5c588625ed09a2599218d4bee50524f13032c07c7afd" }, "downloads": -1, "filename": "collective.carousel-1.2.zip", "has_sig": false, "md5_digest": "9e643ccd64ce4e7dfb82cc7759021cdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49810, "upload_time": "2010-06-30T16:12:10", "url": "https://files.pythonhosted.org/packages/cd/7c/70b7479fc4b82414ddd7321ce672e70f154a1559374d6d72189fbae0b185/collective.carousel-1.2.zip" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "4df0a81f3c8831dd3ed31687dee2c8d1", "sha256": "053f1f28de27e0948b9c949ee10633dedb4f66bc9c48176fbd756a977e4f7929" }, "downloads": -1, "filename": "collective.carousel-1.3.zip", "has_sig": false, "md5_digest": "4df0a81f3c8831dd3ed31687dee2c8d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52153, "upload_time": "2010-07-06T10:52:24", "url": "https://files.pythonhosted.org/packages/f3/d7/031ce2fbb132c82a147988003880a74cc56b497ca1ed5ba92c099a258843/collective.carousel-1.3.zip" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "79a40f8ae201f623106877c3c52cfb3a", "sha256": "725b9c4ed6cbcf251eecae4c50d85a8af04d9f0d208b7730862886bdbdb90570" }, "downloads": -1, "filename": "collective.carousel-1.4.zip", "has_sig": false, "md5_digest": "79a40f8ae201f623106877c3c52cfb3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61670, "upload_time": "2011-01-27T21:51:29", "url": "https://files.pythonhosted.org/packages/84/bb/7b712f6be6d07213b6ba28b439fb49b216c12998081a9b9a6c37ec234b14/collective.carousel-1.4.zip" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "81c6b2c193fc1bf0770ad109d6513cae", "sha256": "dd9f341376a8a5642d924a31a697632877d3b99150c16c1f756c3d066ae5012d" }, "downloads": -1, "filename": "collective.carousel-1.5.zip", "has_sig": false, "md5_digest": "81c6b2c193fc1bf0770ad109d6513cae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64327, "upload_time": "2013-03-02T20:58:01", "url": "https://files.pythonhosted.org/packages/c9/a4/217232a8372f6fb3e2ffd3bee78a95ec49dbd475e251703de9feb5df65a3/collective.carousel-1.5.zip" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "803e2f0b26e55bb0e2dd5cfcadc3c3d8", "sha256": "95830ff28cca6ce6ae01ba16307804ab9ad662a8ab7554c5eaa2ced8506a95ae" }, "downloads": -1, "filename": "collective.carousel-1.6.tar.gz", "has_sig": false, "md5_digest": "803e2f0b26e55bb0e2dd5cfcadc3c3d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37225, "upload_time": "2013-04-11T14:43:21", "url": "https://files.pythonhosted.org/packages/f0/2f/1481bfc1e3c0831ed3e4161b591a779514ba053e3c2278ceb91ab146f597/collective.carousel-1.6.tar.gz" } ], "1.6.1": [ { "comment_text": "", "digests": { "md5": "823c295a309dd6e3242709fa61131a53", "sha256": "60bbee58f92612e84b35e15fc85b9468ba56f9f7f7b97c17c7058a7050f4a132" }, "downloads": -1, "filename": "collective.carousel-1.6.1.tar.gz", "has_sig": false, "md5_digest": "823c295a309dd6e3242709fa61131a53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16961, "upload_time": "2013-05-02T09:29:44", "url": "https://files.pythonhosted.org/packages/ba/a1/7b88a575aee4deaaa3e71c124c4e681ce2f5e5d23b150823d3785790ec36/collective.carousel-1.6.1.tar.gz" } ], "1.6.2": [ { "comment_text": "", "digests": { "md5": "95c605cabe12e590b8d549038eb6c934", "sha256": "adad859291bebddd49986b485a641971b212eceeffa78a8ffedd4c6fc6870fdd" }, "downloads": -1, "filename": "collective.carousel-1.6.2.tar.gz", "has_sig": false, "md5_digest": "95c605cabe12e590b8d549038eb6c934", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39969, "upload_time": "2013-08-28T13:01:52", "url": "https://files.pythonhosted.org/packages/47/d9/6c113366c291592de80896fcd020ac0b6515556feb6f0e9251449f26fe33/collective.carousel-1.6.2.tar.gz" } ], "1.7": [ { "comment_text": "", "digests": { "md5": "02299d1e9d8870651f9b1ef3a63c89b9", "sha256": "3e9db0124a635bdd6276f27716f3829275ef3ae2b19cb1832470240d3943891c" }, "downloads": -1, "filename": "collective.carousel-1.7.tar.gz", "has_sig": false, "md5_digest": "02299d1e9d8870651f9b1ef3a63c89b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38069, "upload_time": "2014-04-30T11:51:31", "url": "https://files.pythonhosted.org/packages/2b/7d/b9589f75dcf3112c941d73e2ddf53dfc253536e7e4adf01281ebbc7ef283/collective.carousel-1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "02299d1e9d8870651f9b1ef3a63c89b9", "sha256": "3e9db0124a635bdd6276f27716f3829275ef3ae2b19cb1832470240d3943891c" }, "downloads": -1, "filename": "collective.carousel-1.7.tar.gz", "has_sig": false, "md5_digest": "02299d1e9d8870651f9b1ef3a63c89b9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38069, "upload_time": "2014-04-30T11:51:31", "url": "https://files.pythonhosted.org/packages/2b/7d/b9589f75dcf3112c941d73e2ddf53dfc253536e7e4adf01281ebbc7ef283/collective.carousel-1.7.tar.gz" } ] }