{ "info": { "author": "4teamwork AG", "author_email": "mailto:info@4teamwork.ch", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Plone :: 4.3", "Framework :: Plone :: 5.1", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "ftw.topics\n==========\n\nThis package integrates a subject tree into Plone.\n\nFeatures\n--------\n\n- Dexterity based content types \"Topic Tree\" and \"Topic\" for\n creating a topic tree (subject tree).\n\n- The topic-view lists all content referenced the topic.\n\n- `Simplelayout`_ support for topics, so that additional content\n can be added to the topic view.\n\n\nUsage\n-----\n\n- Add ``ftw.topics`` to your buildout configuration:\n\n.. code:: ini\n\n [instance]\n eggs +=\n ftw.topics\n\n- Install the default generic import profile.\n\n\nITopicSupport for Dexterity\n---------------------------\n\nIf you would like to have the topics field on dexterity based types, use\nthe `ITopicSupportSchema` behavior:\n\n.. code:: xml\n\n \n \n\n \n \n \n \n\n \n\n\n\nSimplelayout support\n--------------------\n\nThe `Simplelayout`_ support is using the block types of the `ftw.contentpage`_\npackage, so it installs the contentpage package.\nUse the `simplelayout` extras for installing the required packages:\n\n.. code:: ini\n\n [instance]\n eggs +=\n ftw.topics [simplelayout]\n\nInstall the simplelayout generic setup profile (`profile-ftw.topics:simplelayout`).\n\n\nCustomizing reference representations\n-------------------------------------\n\nThe ``ITopicReferencePresentation`` adapters are responsible for rendering the\nreferences on the topic view. The adapters consume all items they know and\nrender them in a section of the view.\n\n`ftw.topics` includes an `ITopicReferencePresentation` for rendering content pages\nand a default adapter for all contents which are not consumed by another adapter.\n\nAdding a custom representation adapter is easy:\n\n.. code:: python\n\n from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile\n from ftw.topics.browser.representation import DefaultRepresentation\n from my.package.interfaces import IMyType\n from my.package import _\n\n class MyRepresentation(DefaultRepresentation):\n template = ViewPageTemplateFile('my_representation.pt')\n\n def consume(self, objects):\n for obj in objects:\n if IMyType.providedBy(obj):\n self.objects.append(obj)\n else:\n yield obj\n\n def title(self):\n return _(u'label_my_objects', default=u'My objects')\n\n def position(self):\n return 50\n\n\nconsume()\n Be sure that you yield all objects which you do not handle in your adapter.\n They will be passed up the pipeline until another adapter handles them.\n The last adapter is usually the default representation adapter, which consumes\n all left over objects.\n\ntitle()\n Return the title for your section.\n\nposition()\n The adapters are ordered by position. The default adapter has the position 1000,\n the `ftw.contentpage` adapter has the position 100.\n\nRegister your adapter with ZCML:\n\n.. code:: xml\n\n \n\n \n\n \n\nBe sure you give the adapter a name, so that it does not conflict with other adapters.\n\n\nLinks\n-----\n\n- Github: https://github.com/4teamwork/ftw.topics\n- Issues: https://github.com/4teamwork/ftw.topics/issues\n- Pypi: http://pypi.python.org/pypi/ftw.topics\n- Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.topics\n\n\nCopyright\n---------\n\nThis package is copyright by `4teamwork `_.\n\n``ftw.topics`` is licensed under GNU General Public License, version 2.\n\n.. _Simplelayout: https://github.com/4teamwork/simplelayout.base\n.. _ftw.contentpage: https://github.com/4teamwork/ftw.contentpage\n\nChangelog\n=========\n\n\n2.0.0 (2019-10-18)\n------------------\n\n- Add plone 5.1 support. [busykoala]\n- Remove ATTopicSupportExtender.\n Check out https://github.com/4teamwork/ftw.upgrade#inplace-migrator\n to migrating your types. [busykoala]\n\n\n1.3.1 (2019-06-13)\n------------------\n\n- Exclude expired and future content from the collected backreferences. [elioschmutz]\n\n\n1.3.0 (2018-07-04)\n------------------\n\n- Protect the DX topics field with the write permission. [mbaechtold]\n\n\n1.2.1 (2016-09-29)\n------------------\n\n- Make the topics field optional.\n [mbaechtold]\n\n\n1.2.0 (2016-09-26)\n------------------\n\n- Add ftw.referencewidget and use it instad of plone.formwidget.contenttree.\n [tschanzt]\n\n- Add ftw.theming scss with font awsome icons.\n [mathias.leimgruber]\n\n- Fix dexterity behavior and relation collector.\n [jone]\n\n- Restrict versions of some dependencies so they don't pull in Plone 5.\n [mbaechtold]\n\n- Also enable navigation behavior on ftw.topic.Topics.\n [mathias.leimgruber]\n\n\n1.1.3 (2015-06-15)\n------------------\n\n- Fix sorting the subtopics alphabetically.\n [mathias.leimgruber]\n\n\n1.1.2 (2014-11-27)\n------------------\n\n- Added option to hide backreferences in topics.\n [lknoefpel]\n\n\n1.1.1 (2014-02-28)\n------------------\n\n- Nothing changed yet.\n\n\n1.1.0 (2014-02-03)\n------------------\n\n- Enable IExcludeFromNavigation behavior on topic tree.\n [mathias.leimgruber]\n\n\n1.0 (2013-05-24)\n----------------\n\n- Initial implementation.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/4teamwork/ftw.topics", "keywords": "ftw topics", "license": "GPL2", "maintainer": "", "maintainer_email": "", "name": "ftw.topics", "package_url": "https://pypi.org/project/ftw.topics/", "platform": "", "project_url": "https://pypi.org/project/ftw.topics/", "project_urls": { "Homepage": "https://github.com/4teamwork/ftw.topics" }, "release_url": "https://pypi.org/project/ftw.topics/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "Create subject trees in Plone", "version": "2.0.0" }, "last_serial": 5994339, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "92ab4f4202c7b8d058d34bb571f2f747", "sha256": "c8fcf59ca88e596a1fae3d9a049f4e39a5320487cbc7abed3b032b4fb1d72586" }, "downloads": -1, "filename": "ftw.topics-1.0.zip", "has_sig": false, "md5_digest": "92ab4f4202c7b8d058d34bb571f2f747", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 58250, "upload_time": "2013-05-24T14:30:17", "url": "https://files.pythonhosted.org/packages/cd/da/4219f4c875ee6e8286e17854557f878c68e61c3f4c638a9b72ec80a8d57d/ftw.topics-1.0.zip" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "42ff118c943c86a44823ea0bfc0f38fa", "sha256": "d35cbe597e5f576aab5d6efabf3d6f8207e0255231040784b64056071501ecd1" }, "downloads": -1, "filename": "ftw.topics-1.1.0.zip", "has_sig": false, "md5_digest": "42ff118c943c86a44823ea0bfc0f38fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60042, "upload_time": "2014-02-03T16:39:11", "url": "https://files.pythonhosted.org/packages/90/20/8ddb8e5f563cdaf6c689cad055f7bb01d491b2cdf79da3b4abeb0793af8f/ftw.topics-1.1.0.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "aea6dac60addb9f453428400c39c34d8", "sha256": "fcb16933fd1eef822e7b899f2135c62baea4ed943dc9b33f5b68dcf23c9e4427" }, "downloads": -1, "filename": "ftw.topics-1.1.1.zip", "has_sig": false, "md5_digest": "aea6dac60addb9f453428400c39c34d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60554, "upload_time": "2014-02-28T12:39:13", "url": "https://files.pythonhosted.org/packages/c8/80/aec3d76b7ce3ff7962e1839fbee6b109d1127cc1ae0491bed75dcb2f7ee3/ftw.topics-1.1.1.zip" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "88877e592a9816ad10195f6ea19c532d", "sha256": "21dde112edc3eeee1aad401255e7b4a1a36c3d35480ca17fdc3ee066de582b19" }, "downloads": -1, "filename": "ftw.topics-1.1.2.zip", "has_sig": false, "md5_digest": "88877e592a9816ad10195f6ea19c532d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60977, "upload_time": "2014-11-27T13:34:57", "url": "https://files.pythonhosted.org/packages/b6/7b/49d83123d8c1d8ab4a17d2987467b3e4d1531add2faa5fea84937fa5d418/ftw.topics-1.1.2.zip" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "7a5b4ca2e6f843dae53f213ec215c8c8", "sha256": "0ce435063ea391b777adcc252d42b60abb34b085db577b5d4879869c76689b0a" }, "downloads": -1, "filename": "ftw.topics-1.1.3.zip", "has_sig": false, "md5_digest": "7a5b4ca2e6f843dae53f213ec215c8c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60771, "upload_time": "2015-06-15T07:12:57", "url": "https://files.pythonhosted.org/packages/52/34/beac95a2f90bd36854a856ccf91e0ac017b3de041fd3a29eb22299e28184/ftw.topics-1.1.3.zip" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "397fd59a40235d87dd19fd31f0cdc600", "sha256": "2f8481969db7fa7691e437d240db4bdbbde8cb06a6d9d6ae1c849ae4be25cc61" }, "downloads": -1, "filename": "ftw.topics-1.2.0.tar.gz", "has_sig": false, "md5_digest": "397fd59a40235d87dd19fd31f0cdc600", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36581, "upload_time": "2016-09-26T16:13:43", "url": "https://files.pythonhosted.org/packages/97/af/c98a16675fb2b6956a4dea4cbcfaca467c6551d51169dec7587e03b88ed4/ftw.topics-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "c83f9855e4e84d54409ed4240f189ed0", "sha256": "e078bf7419cf7171e5f37ac96e2233f5fc8a13ee9afa87dd6878120bcb5fc195" }, "downloads": -1, "filename": "ftw.topics-1.2.1.tar.gz", "has_sig": false, "md5_digest": "c83f9855e4e84d54409ed4240f189ed0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36627, "upload_time": "2016-09-29T15:06:46", "url": "https://files.pythonhosted.org/packages/ae/62/4de789f8f4dca02f35d10f85b1c89de1db8de996903c15378fcfa889595c/ftw.topics-1.2.1.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "122fe6051360d62b64e4ccd728251cc1", "sha256": "ad257099bf6f0a71e829ce41f3b263acab0c921ee104d9522cee9e1a2e9b1142" }, "downloads": -1, "filename": "ftw.topics-1.3.0.tar.gz", "has_sig": false, "md5_digest": "122fe6051360d62b64e4ccd728251cc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39932, "upload_time": "2018-07-04T06:30:49", "url": "https://files.pythonhosted.org/packages/ea/f2/ba51e621f08349a20d7f3f609aa702a8d64fa168e5e9da17dddb2047fc3f/ftw.topics-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "744734b138e617311a01fc7b0544b6d7", "sha256": "03564afaa1d8d14fddc222b851ea1668c191e5b385f768fe74df624c337ac1cb" }, "downloads": -1, "filename": "ftw.topics-1.3.1.tar.gz", "has_sig": false, "md5_digest": "744734b138e617311a01fc7b0544b6d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40548, "upload_time": "2019-06-13T13:48:04", "url": "https://files.pythonhosted.org/packages/9b/08/59f25f989a8576f7e7a99bf51eadf4b8cc25c1eaf4862d7b44c030bdb0b3/ftw.topics-1.3.1.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "fc2b8a089f707184c9bb0c255a4ef64c", "sha256": "1da8650bbca5795e0919c2a0c010e615447e059158003649ce45293c14fce1b8" }, "downloads": -1, "filename": "ftw.topics-2.0.0.tar.gz", "has_sig": false, "md5_digest": "fc2b8a089f707184c9bb0c255a4ef64c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36145, "upload_time": "2019-10-18T08:14:04", "url": "https://files.pythonhosted.org/packages/3d/de/4fa3fa59ccaeebc36516058767133703a4a6ca5632bbca9c948fb551de16/ftw.topics-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fc2b8a089f707184c9bb0c255a4ef64c", "sha256": "1da8650bbca5795e0919c2a0c010e615447e059158003649ce45293c14fce1b8" }, "downloads": -1, "filename": "ftw.topics-2.0.0.tar.gz", "has_sig": false, "md5_digest": "fc2b8a089f707184c9bb0c255a4ef64c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36145, "upload_time": "2019-10-18T08:14:04", "url": "https://files.pythonhosted.org/packages/3d/de/4fa3fa59ccaeebc36516058767133703a4a6ca5632bbca9c948fb551de16/ftw.topics-2.0.0.tar.gz" } ] }