{ "info": { "author": "Philip Bauer", "author_email": "bauer@starzel.de", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 5.0", "Framework :: Plone :: 5.1", "Framework :: Plone :: 5.2", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": ".. image:: https://travis-ci.org/collective/collective.behavior.banner.svg?branch=master\n :target: https://travis-ci.org/collective/collective.behavior.banner\n\n.. image:: https://coveralls.io/repos/github/collective/collective.behavior.banner/badge.svg?branch=master\n :target: https://coveralls.io/github/collective/collective.behavior.banner?branch=master\n\n\ncollective.behavior.banner\n==========================\n\nA behavior to create banners and sliders from banners.\n\nFeatures\n========\n\nBanner\n------\n\nA banner is usually some text and an image that is displayed above of the content.\n\nThe behavior ``collective.behavior.banner.banner.IBanner`` has various fields (image, title, subtitle, richtext, link, linkcaption etc) that are combined to build a banner. You can enable the behavior on any Dexterity type (tested with plone.app.contenttypes) or for the whole Plone site.\n\n\nSlider\n------\n\nThe behavior ``collective.behavior.banner.slider.ISlider`` adds the option to add relations to several banners (i.e. items that have the Banner behavior enabled). These banners are then displayed like a banner but fade.\n\nThe slider viewlet uses the javascript library http://responsiveslides.com and fades from one banner to another. You can easily use a different javascript libray by overriding the viewlet templates (see below).\n\nBefore you use a slider/carousel on your website, please take time to read http://shouldiuseacarousel.com.\n\n\nInheriting\n----------\n\nBanners are inherited by child objects. In a controlpanel you can configure which types should display inherited banners. You can also prevent inheriting banners for an item and its child objects by enabling the option *Do not inherit banner from parents* on the banner tab. If you want a banner for the entire site, you can assign one to the default content of the Navigation Root (or Plone site root).\n\n\nCustomization\n=============\n\nTo change the appearance (e.g. if you use a bootstrap theme or want to use a different effect in the slider) you can easily override the respective viewlets with `z3c.jbot `_ or `plone.app.themingplugins `_ (if you use plone.app.theming). The names of the files to create would be ``collective.behavior.banner.browser.banner.pt`` and ``collective.behavior.banner.browser.slider.pt``.\n\n\nDemo\n====\n\ncollective.behavior.banner is used on the following sites:\n\n* http://www.plone.de\n* http://python-verband.org\n* http://www.bildungswerk-bayern.de\n\n\nCompatibility\n=============\n\ncollective.behavior.banner works in Plone 4 and Plone 5.\n\nFor Plone 4 use Version 0.2. For Plone 5 use 1.0b1 and higher.\n\nThe branch `plone4 `_ supports Plone 4 while the branch `master `_ works in Plone 5 only.\n\n\nInstallation\n============\n\nTo install `collective.behavior.banner` you simply add ``collective.behavior.banner`` to the list of eggs in your buildout, run buildout and restart Plone. Then, install `collective.behavior.banner` using the Add-ons control panel.\n\nEnable the behavior by hand or in the FTI ``/profiles/default/types/Folder.xml``:\n\n.. code:: xml\n\n \n \n \n \n \n \n\n\nContribute\n----------\n\n* Source Code: https://github.com/collective/collective.behavior.banner\n* Issue Tracker: https://github.com/collective/collective.behavior.banner/issues\n\n\nSupport\n-------\n\nIf you are having issues, please let us know at https://github.com/collective/collective.behavior.banner/issues.\n\n\n\n- Philip Bauer, bauer@starzel.de\n- Steffen Lindner, lindner@starzel.de\n- Stefan Antonelli, stefan.antonelli@operun.de\n- Fulvio Casali, fulviocasali@gmail.com\n- Valentin Piret, valentin@affinitic.be\n\n\n:orphan:\n\nChangelog\n=========\n\n1.2 (2019-03-14)\n----------------\n\n- Add support for Python 3.\n [pbauer]\n\n\n1.1 (2018-09-18)\n----------------\n\n- Use the banner from the root default content if there is one\n [Vaal24]\n\n\n1.0 (2018-08-16)\n----------------\n\n- Add alt tag for banner image.\n [tlotze]\n\n\n1.0b2 (2017-06-20)\n------------------\n\n- Pass full banner-obj to templates to allow accessing object-attibutes.\n [pbauer]\n\n- Test against Plone 5.0.7 and fix all pep8-issues.\n [pbauer]\n\n- Show YouTube and Vimeo videos in a banner.\n [fulv]\n\n\n1.0b1 (2015-11-30)\n------------------\n\n- Use p5-style resources.\n [pbauer]\n\n- No longer explicitly set the relateditemswidget (it's default in p5).\n [pbauer]\n\n- Fix RelationList widget for slider_relation field. Fixes #1.\n [fulv]\n\n- Remove last traces of grok.\n [fulv]\n\n- Add compatability to Plone 5 with new buildout and test-setup.\n [pbauer]\n\n\n0.2 (2015-11-30)\n----------------\n\n- Add Documentation.\n [pbauer]\n\n- Remove grok.\n [pbauer]\n\n- Simplify traversing.\n [pbauer]\n\n- Unify css and templates.\n [gomez]\n\n- Basic styling for banner/slider.\n [santonelli]\n\n\n0.1 (26.3.2014)\n----------------\n\n- Initial release.\n [pbauer, gomez]", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/collective.behavior.banner", "keywords": "Python Plone", "license": "GPL version 2", "maintainer": "", "maintainer_email": "", "name": "collective.behavior.banner", "package_url": "https://pypi.org/project/collective.behavior.banner/", "platform": "", "project_url": "https://pypi.org/project/collective.behavior.banner/", "project_urls": { "Homepage": "https://pypi.python.org/pypi/collective.behavior.banner" }, "release_url": "https://pypi.org/project/collective.behavior.banner/1.2/", "requires_dist": null, "requires_python": "", "summary": "An add-on for Plone", "version": "1.2" }, "last_serial": 4940480, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "82da8abc71b43305fb8bb8b62c9b47ee", "sha256": "a2174b1f8e466476c972e161c259c4fba0c1a30e5eb0a7b55ffd8e90eafdb3cf" }, "downloads": -1, "filename": "collective.behavior.banner-0.2.tar.gz", "has_sig": false, "md5_digest": "82da8abc71b43305fb8bb8b62c9b47ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15534, "upload_time": "2015-11-30T13:06:31", "url": "https://files.pythonhosted.org/packages/d8/e4/66df4457c4b02ac96d6a7d092dc5a099096bb869d1062a40b466ad43ac02/collective.behavior.banner-0.2.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "ae874c4d74daf08fbd34acd8b918322a", "sha256": "bd444087becc899ec37c93d7bef705daafd9ce623502aab7a8478cde74cbb9fd" }, "downloads": -1, "filename": "collective.behavior.banner-1.0.tar.gz", "has_sig": false, "md5_digest": "ae874c4d74daf08fbd34acd8b918322a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18237, "upload_time": "2018-08-16T06:54:18", "url": "https://files.pythonhosted.org/packages/a9/8b/ed5a1235277485be86f3eb1db204899dcde26115fa6fa3b767286e6ee829/collective.behavior.banner-1.0.tar.gz" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "392b5b610227066c6603df8ced3883ad", "sha256": "745e7ec105c02fd8c883ed9c484ed2cc7ebbd0673f68f38228d45c18a9bdfc1d" }, "downloads": -1, "filename": "collective.behavior.banner-1.0b1.tar.gz", "has_sig": false, "md5_digest": "392b5b610227066c6603df8ced3883ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15847, "upload_time": "2015-11-30T13:30:16", "url": "https://files.pythonhosted.org/packages/40/47/dea57834f43dc05ef41411d5548e86414be7755593da5ea548893abfdbba/collective.behavior.banner-1.0b1.tar.gz" } ], "1.0b2": [ { "comment_text": "", "digests": { "md5": "76d9ff7e99077b6d66752f9ef398163b", "sha256": "5fd7bd4c88b0dbd9f14ee62c37503f1dfa36ad61811a84904690d92f1b214305" }, "downloads": -1, "filename": "collective.behavior.banner-1.0b2.tar.gz", "has_sig": false, "md5_digest": "76d9ff7e99077b6d66752f9ef398163b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17428, "upload_time": "2017-06-20T12:20:57", "url": "https://files.pythonhosted.org/packages/8c/20/55885125480976f45ec577df3ea9f913dee8e02f29c4822ebb48e0b35d77/collective.behavior.banner-1.0b2.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "22520f05e533c26b3b31969a76e36295", "sha256": "aa63e897595ec8a8bcc804c8590af65ef5a41f7a36194a3bc1209a0703515cf2" }, "downloads": -1, "filename": "collective.behavior.banner-1.1.tar.gz", "has_sig": false, "md5_digest": "22520f05e533c26b3b31969a76e36295", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18553, "upload_time": "2018-09-18T15:48:12", "url": "https://files.pythonhosted.org/packages/3a/54/04acc9bfaa6f07b2c19adfd7a428fd93e86b36bf524a0a9fec356ae26867/collective.behavior.banner-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "0777f149b3f72f8722cf6b38c758677c", "sha256": "a10fd0a2d7c7369bcaa65d69cdf31133cf14a35475bd097d3becd02f74cb8d2f" }, "downloads": -1, "filename": "collective.behavior.banner-1.2.tar.gz", "has_sig": false, "md5_digest": "0777f149b3f72f8722cf6b38c758677c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18816, "upload_time": "2019-03-14T16:11:08", "url": "https://files.pythonhosted.org/packages/b7/c7/969e89ffec850ca6c0a05483c644b1cd9d3457ad6d0588f240b9fbfcb9ca/collective.behavior.banner-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0777f149b3f72f8722cf6b38c758677c", "sha256": "a10fd0a2d7c7369bcaa65d69cdf31133cf14a35475bd097d3becd02f74cb8d2f" }, "downloads": -1, "filename": "collective.behavior.banner-1.2.tar.gz", "has_sig": false, "md5_digest": "0777f149b3f72f8722cf6b38c758677c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18816, "upload_time": "2019-03-14T16:11:08", "url": "https://files.pythonhosted.org/packages/b7/c7/969e89ffec850ca6c0a05483c644b1cd9d3457ad6d0588f240b9fbfcb9ca/collective.behavior.banner-1.2.tar.gz" } ] }