{
"info": {
"author": "RedTurtle Technology",
"author_email": "sviluppoplone@redturtle.it",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Framework :: Plone",
"Framework :: Plone :: 3.3",
"Framework :: Plone :: 4.0",
"Framework :: Plone :: 4.1",
"Framework :: Plone :: 4.2",
"Framework :: Plone :: 4.3",
"Programming Language :: JavaScript",
"Programming Language :: Python"
],
"description": ".. contents:: **Table of contents**\n\nIntroduction\n============\n\nScope of this product is to make possible an expand/collapse feature in Plone navigation(s)\nportlet without any modification to the navigation code itself, or any needs to override its features.\n\nThis product *is not* a new navigation portlet, is just a JavaScript add-on that rely on native Plone's\n`jQuery`__ support.\n\n__ http://jquery.com/\n\nMore important: it is only focused to make *some* navigation links to be expandable. \n\nWhen you will like this?\n------------------------\n\nThe collective.navigationtoggle is useful when your Plone site needs (not much) special handling of\nnavigation elements. Sometimes your site structure is someway like this::\n\n ROOT\n |\n |_ FolderWhatever\n \\_ NotImportantFolder\n |\n |_ ImportantFolder1\n ...\n \\_ ImportantFolderN\n\nIf you configure your navigation portlet on the site root, users must click on the *NotImportantFolder*\nand reload the whole page to reach the *ImportantFolder*'s section.\nThe site at the *NotImportantFolder* level is not useful... maybe you only give a *folder_listing* view\nor a default page that only say \"Welcome to an important area of the site, please visit the subsection\nyou are looking for...\".\n\nFor the user experience the first click is only a waste of time.\n\nWhat you are looking for can be a client side effect that expand/collapse the folder in the navigation.\nThe *NotImportantFolder* itself is not seen as a real content in your information architecture.\n\nWhat will change\n----------------\n\n.. image:: http://blog.redturtle.it/pypi-images/collective.navigationtoggle/collective.navigationtoggle-0.3.0-01.png/image_mini\n :align: left\n :alt: Closed navigation from AUSL site\n :target: http://blog.redturtle.it/pypi-images/collective.navigationtoggle/collective.navigationtoggle-0.3.0-01.png\n\n.. image:: http://blog.redturtle.it/pypi-images/collective.navigationtoggle/collective.navigationtoggle-0.3.0-02.png/image_mini\n :align: right\n :alt: Open navigation from AUSL site\n :target: http://blog.redturtle.it/pypi-images/collective.navigationtoggle/collective.navigationtoggle-0.3.0-02.png\n\nMake possible that special navigation links will no more move the user to the target section but simply\nshows in the navigation itself all subsections (so the navigation seems like the user really moved to\nthe target folder).\n\nA second click will collapse the section.\n\nDefault page in a folder, elements marked with \"*Exclude from navigation*\" and unwanted\ntype from the ``metaTypesNotToList`` property will be excluded.\n\nThe script try to simulate best at possible a normal portlet navigation behaviour.\n\nThe code keeps in mind *graceful degradation*. Browser without JavaScript enabled will simply use basic\nPlone navigation features.\n\nDetailed documentation\n======================\n\nBasic configuration\n-------------------\n\nIn your Plone configuration panel you'll find the new \"*Navigation Toggle settings*\".\n\n.. image:: http://blog.redturtle.it/pypi-images/collective.navigationtoggle/collective.navigationtoggle-0.4.0-01.png/image_preview\n :alt: Setup of Navigation Toggle configuration\n :target: http://blog.redturtle.it/pypi-images/collective.navigationtoggle/collective.navigationtoggle-0.4.0-01.png\n\n\nFrom this section you can configure a lot of advanced options, mainly you need to configure:\n\n**Link selectors**\n A set of URL path suffix like ``/foo1/foo2`` of an *href* attribute for a link.\n With this example a link like this will be *hit*::\n \n \n \n Commonly only link inside navigation portlet are checked (see the \"*Toggle container classes*\").\n \n You can also provide here a complex jQuery expression, for example::\n \n li.navTreeItem a\n \n If you don't directly provide a selector that match an HTML element, you still need to query for something\n *inside* that kind of node, for example::\n \n li.navTreeItem a.contenttype-folder span\n \n In the last example above, only a click of the navigation entry text will trigger the expand/collapse features,\n while clicking on the icon will keep the default browser behavior.\n\n**Animation delay**\n The product can enable for you a graphical effect when you expand/collapse items. This is disabled by\n default.\n\n To enable it you must change this value to something higher that 0. The value you put there is the time\n (in millisec) used for the `slideDown`__ and `slideUp`__ jQuery's effect.\n\n __ http://api.jquery.com/slideDown/\n __ http://api.jquery.com/slideUp/\n\n Simply put it to 0 again (the default) to disable effect.\n\nAdvanced configurations\n-----------------------\n\n**Cache**\n Check it to perform client side cache of the AJAX request.\n If disabled a request to the server will be performed for every click on navigations.\n\n**Toggle container classes**\n A set of CSS classes that mark you navigation elements.\n Only links inside elements with one of those classes are \"toggleable\".\n \n Note that this option is ignored for \"Links selectors\" entries where you used a jQuery\n expression and not a URL path.\n\n**HTML list type**\n The type of HTML container element to looks for.\n\n**HTML list item**\n The type of HTML item element to be generated.\n\nStyles\n------\n\nThis products dinamically adds two new possible CSS classes to ```` elements that contains links that match\nthe configuration.\n\nClass \"*cnavClosed*\" is added when a special navigation elements is shown on the page and when you close\na subtree.\nWhen a subsection is open, the class \"*cnavOpen*\" is added to the same element.\n\nThe generated substructure is a copy of the main structure given by Plone, but a \"*cnavGenerated*\" class is\nadded to it.\n\nYou can (but this product doesn't) rely on those classes to give additional styles effects in your\nPlone theme.\n\nNot standard navigation (...or portlet... or whatever you want)\n---------------------------------------------------------------\n\nThis products *may* also works on non-standard navigation HTML structure (as the generations on subelement\nis done cloning existings node from the same navigation portlet) but some assumptions are done.\n\nAs the code works almost client side, you can also use it in portlets that are not standard navigation.\nTheoretically you can use it with something that is not even a portlet!\n\nVersions/Dependencies\n=====================\n\nBrowsers\n--------\n\n* Firefox 16 (...probably a new major version will be released while I'm typing this line...)\n* Google Chrome 23 (...same as above...)\n* Opera 12\n* Safari 5.1\n* Internet Explorer 8, 9\n\nPlone\n-----\n\n* Plone 3.3 (classic Plone theme)\n* Plone 4.2 (classic Plone theme and Sunburst)\n* Plone 4.3 (classic Plone theme and Sunburst)\n\nDependencies\n------------\n\n* `simplejson`__ (if using Plone 3)\n* jQuery 1.3 or better\n* `plone.app.registry`__\n\n__ http://pypi.python.org/pypi/simplejson\n__ http://pypi.python.org/pypi/plone.app.registry\n\nCache controls\n==============\n\nToggle configuration are stored in a JavaScript file that your browser and Plone *portal_javascript* tool\nwill probably cache.\n\nWhen changing configuration you can use the \"*Save and invalidate JS cache*\" button.\n\nOther products\n==============\n\nIf you need a complete expand/collapse navigation feature this product is not for you; so take a\nlook at:\n\n* `collective.portlet.explore`__\n* `Solgema.NavigationPortlet`__\n\n__ http://pypi.python.org/pypi/collective.portlet.explore\n__ http://plone.org/products/solgema.navigationportlet\n\nCredits\n=======\n\nDeveloped with the support of:\n\n* `S. Anna Hospital, Ferrara`__\n \n .. image:: http://www.ospfe.it/ospfe-logo.jpg \n :alt: S. Anna Hospital logo\n\n* `Azienda USL Ferrara`__\n\n .. image:: http://www.ausl.fe.it/logo_ausl.gif\n :alt: Azienda USL logo\n\nAll of them supports the `PloneGov initiative`__.\n\n__ http://www.ospfe.it/\n__ http://www.ausl.fe.it/\n__ http://www.plonegov.it/\n\nAuthors\n=======\n\nThis product was developed by RedTurtle Technology team.\n\n.. image:: http://www.redturtle.it/redturtle_banner.png\n :alt: RedTurtle Technology Site\n :target: http://www.redturtle.it/\n\nSpecial thanks to Yang Hong for massive bug fixing.\n\nChangelog\n=========\n\n1.0.2 (2014-07-17)\n------------------\n\n- fixed a bug in @@query-subelements when using the product in a Plone site that's inside \n another folder (filesystem, for example) [mpampols]\n- fixed a bug that badly put rules inside the generated ``collective.navigationtoggle.rules.js``\n if they contains a quote char [keul]\n\n1.0.1 (2013-01-24)\n------------------\n\n- use the object's id as the fallback title for expanded item\n (close `#6`__) [yangh]\n\n __ https://github.com/RedTurtle/collective.navigationtoggle/issues/6\n\n1.0.0 (2013-01-15)\n------------------\n\n- fixed a bug when used with containers with spaces inside the id\n (close `#2`__) [keul]\n- file icon of generated elements where not handled in the right way\n (close `#3`__) [keul]\n- added a way to invalidate JS cache\n (close `#1`__) [keul]\n- now general selectors can match also elements that are not , but\n link's contents\n (close `#4`__) [keul]\n- now checking the ``typesUseViewActionInListings`` configuration\n (close `#5`__) [keul]\n\n __ https://github.com/RedTurtle/collective.navigationtoggle/issues/2\n __ https://github.com/RedTurtle/collective.navigationtoggle/issues/3\n __ https://github.com/RedTurtle/collective.navigationtoggle/issues/1\n __ https://github.com/RedTurtle/collective.navigationtoggle/issues/4\n __ https://github.com/RedTurtle/collective.navigationtoggle/issues/5\n\n0.4.0 (2012-11-15)\n------------------\n\n* added a product's browser layer\n [keul]\n* provided an own configuration panel\n [keul]\n* added all remaining configutation in Plone UI\n [keul]\n* ``toggleContainerClass`` now is ``toggleContainerClasses``\n (can be used for a set of classes)\n [keul]\n* added i18n support and italian translation\n [keul]\n* changes AJAX calling context, now always calling portal root URL\n [keul]\n* added tests (both Plone and JavaScript)\n [keul]\n\n0.3.0 (2011-06-07)\n------------------\n\n* you can now use more general `jQuery selector`__ instead of simple URL path [keul]\n* do not show types that are in list of unwanted types in navigation [keul]\n* ``collective.navigationtoggle.txt`` was empty [keul]\n* JSLint cleanup [keul]\n* code is more general, and new properties likes ``toggleContainerClass``, ``listType``\n and ``listItem`` has been added.\n The code now can be used to simulate navigators also with not portlet navigator\n structures [keul]\n* added the uninstall GS step [keul]\n* fixed the `simplejson`__ dependency correctly, only if with Python < 2.6 [keul]\n* links selectors can be added through Plone UI [keul]\n\n__ http://docs.jquery.com/Selectors\n__ http://pypi.python.org/pypi/simplejson\n\n0.2.1 (2010-07-09)\n------------------\n\n* fixed a bug when fast double-click on opened elements (close `#1`__) [keul]\n* much better Sunburst support (and other themes, in general), now checking also for \"*contenttype-xx*\"\n and \"*state-xx*\" CSS classes on links [keul]\n\n__ http://plone.org/products/collective.navigationtoggle/issues/1\n\n0.2.0 (2010-04-11)\n------------------\n\n* query_subelement view documentation was incomplete [keul]\n* when querying empty folder, do not prevent (in facts: simulate) browser default action [keul]\n* prevent browser cache (mainly know Internet Explorer problem) [keul]\n* do not always display the content's image icon (sometimes users don't see them in navigation) [keul]\n* now every element node cache its subtree, so AJAX call is performed only once (can be disabled) [keul]\n* added dependency on simplejson for formatting server responses [keul]\n* added minimal Plone 4.0 compatibility (UI result is not perfect) [keul]\n* added a simple slide up/down effect (disabled by default) [keul]\n\n0.1.0 (2010-04-06)\n------------------\n\n* initial release",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://plone.org/products/collective.navigationtoggle",
"keywords": "plone plonegov jquery navigation javascript",
"license": "GPL",
"maintainer": null,
"maintainer_email": null,
"name": "collective.navigationtoggle",
"package_url": "https://pypi.org/project/collective.navigationtoggle/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/collective.navigationtoggle/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://plone.org/products/collective.navigationtoggle"
},
"release_url": "https://pypi.org/project/collective.navigationtoggle/1.0.2/",
"requires_dist": null,
"requires_python": null,
"summary": "Expand/collapse feature for specific Plone navigation entries, in an unobtrusive way",
"version": "1.0.2"
},
"last_serial": 1771612,
"releases": {
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "ab6e7ed1c4fd3ea5b57fcea4cf171d51",
"sha256": "9343c695d87ebb71a1aedf94558028776e73edd934ca13de9a929efcc01c5a3a"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.1.0-py2.4.egg",
"has_sig": false,
"md5_digest": "ab6e7ed1c4fd3ea5b57fcea4cf171d51",
"packagetype": "bdist_egg",
"python_version": "2.4",
"requires_python": null,
"size": 14047,
"upload_time": "2010-04-06T16:34:07",
"url": "https://files.pythonhosted.org/packages/59/f6/5136abf932d49fbbc08c52f04fe0ef4af7aae9df5532c2b82a15c11498f0/collective.navigationtoggle-0.1.0-py2.4.egg"
},
{
"comment_text": "",
"digests": {
"md5": "8b621b9db452a4c611ee3a5facfb6114",
"sha256": "382a9fa34bf2dd569b997352242f00d7097ab149548677e5c778ae38eb2f45b9"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "8b621b9db452a4c611ee3a5facfb6114",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 17168,
"upload_time": "2010-04-06T16:32:44",
"url": "https://files.pythonhosted.org/packages/12/74/b874cb88a48c07ce0d4280ff437a37c07ea99e31fd70dfde3342d982c63b/collective.navigationtoggle-0.1.0.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "e3c4531d4e57c64b3ffc206e2a945b19",
"sha256": "b14b844e099a57fe96baf5076561f8deffa7ecd0b35a890f277d87c39014ab23"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.2.0-py2.4.egg",
"has_sig": false,
"md5_digest": "e3c4531d4e57c64b3ffc206e2a945b19",
"packagetype": "bdist_egg",
"python_version": "2.4",
"requires_python": null,
"size": 15889,
"upload_time": "2010-04-11T20:41:10",
"url": "https://files.pythonhosted.org/packages/99/87/905532c6efdc20142cf3cbd6b9e9874b65ee5d33154b1e457273a101f229/collective.navigationtoggle-0.2.0-py2.4.egg"
},
{
"comment_text": "",
"digests": {
"md5": "01b4e67ce4b4b52b68cd8decafa563df",
"sha256": "62392fbcb003654b9800d22f11885bd9e4e476762986d0183d5c213db7b20b72"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.2.0-py2.6.egg",
"has_sig": false,
"md5_digest": "01b4e67ce4b4b52b68cd8decafa563df",
"packagetype": "bdist_egg",
"python_version": "2.6",
"requires_python": null,
"size": 15893,
"upload_time": "2010-04-11T20:41:37",
"url": "https://files.pythonhosted.org/packages/ef/7b/beb3ca6a3348718ef09ac32a83545d66969f9857778d5cb52c1e3f4a126b/collective.navigationtoggle-0.2.0-py2.6.egg"
},
{
"comment_text": "",
"digests": {
"md5": "8aa71371b8a4b743de64859f256076c1",
"sha256": "aa072fcdb393b9fccc28b281172a6a40e580452b5c59cb694936a27bd343bd77"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "8aa71371b8a4b743de64859f256076c1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 17237,
"upload_time": "2010-04-11T20:41:08",
"url": "https://files.pythonhosted.org/packages/ff/b0/5203fbb4bf8feedb7e3a76cd864f76d218e9d23d48c81a00c68119e82f4b/collective.navigationtoggle-0.2.0.tar.gz"
}
],
"0.2.1": [
{
"comment_text": "",
"digests": {
"md5": "c9751a1cd5ceb05e8e71b9c41336cf5f",
"sha256": "2eef8a2a53813b67973139a7ddb0b013dd2f03eb1eacd2f97ebc92d6129808b1"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.2.1-py2.4.egg",
"has_sig": false,
"md5_digest": "c9751a1cd5ceb05e8e71b9c41336cf5f",
"packagetype": "bdist_egg",
"python_version": "2.4",
"requires_python": null,
"size": 16645,
"upload_time": "2010-07-09T14:26:26",
"url": "https://files.pythonhosted.org/packages/e5/5d/3eec747fcfca6b902b4563f449b7d30fa4932f2e9b00291c42ef1aab4e1c/collective.navigationtoggle-0.2.1-py2.4.egg"
},
{
"comment_text": "",
"digests": {
"md5": "02e6e6d7676d2987c0a81a571c2a31e2",
"sha256": "8b4c39137948df9b9173c30e265c966b099d3e1061f896e24aafcd2e46d51f3c"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.2.1-py2.6.egg",
"has_sig": false,
"md5_digest": "02e6e6d7676d2987c0a81a571c2a31e2",
"packagetype": "bdist_egg",
"python_version": "2.6",
"requires_python": null,
"size": 16644,
"upload_time": "2010-07-09T14:26:56",
"url": "https://files.pythonhosted.org/packages/d0/cb/7903db15d0bb7a1f769a588ffb7ed2f7797629eb4a47cf09c47be005110f/collective.navigationtoggle-0.2.1-py2.6.egg"
},
{
"comment_text": "",
"digests": {
"md5": "fe6a32bfcb76a39e32efbe5f3e32c689",
"sha256": "576dc50633aecf58ceea67b0897a465b45baf362f88f4ca8cb9a7ac6b2db552a"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "fe6a32bfcb76a39e32efbe5f3e32c689",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 20626,
"upload_time": "2010-07-09T14:26:26",
"url": "https://files.pythonhosted.org/packages/7a/8d/4098552dd3690305b1f60c57cd67ad3c84f6e6dafc34578ceb2a1d55d959/collective.navigationtoggle-0.2.1.tar.gz"
}
],
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "5b963d8d4190a636da19b223a2879d07",
"sha256": "b0eb09373af55de518e009886b31199c1d18d1bc2f478157df8fde2ef61847c0"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "5b963d8d4190a636da19b223a2879d07",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 24542,
"upload_time": "2011-06-07T17:49:19",
"url": "https://files.pythonhosted.org/packages/bd/ea/86ac06c9764ead2b0206cc07520c3b8178533e14b63d7dbb00ab179024d2/collective.navigationtoggle-0.3.0.tar.gz"
}
],
"0.4.0": [
{
"comment_text": "",
"digests": {
"md5": "6b0a58cfc8617f0d97206b8b7c9cf751",
"sha256": "52185fbdc27ca51a515bba6e3d46ef7982e15b79afb16f232e3a40202faf8703"
},
"downloads": -1,
"filename": "collective.navigationtoggle-0.4.0.zip",
"has_sig": false,
"md5_digest": "6b0a58cfc8617f0d97206b8b7c9cf751",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 97081,
"upload_time": "2012-11-15T17:22:48",
"url": "https://files.pythonhosted.org/packages/d5/4a/f5908a0abec918484b245cd1a71309a2fd50c9b9a76181de3623062da80f/collective.navigationtoggle-0.4.0.zip"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "cc36b31d044692acda739b7378d3c2a4",
"sha256": "3629d6c5ea5b303737cbfec06589ac8ab880ea8a02e5f7b166170c19a6f823da"
},
"downloads": -1,
"filename": "collective.navigationtoggle-1.0.0.zip",
"has_sig": false,
"md5_digest": "cc36b31d044692acda739b7378d3c2a4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 98568,
"upload_time": "2013-01-15T17:14:57",
"url": "https://files.pythonhosted.org/packages/dd/64/d57338c25e49ffc964e5731205568bc817b09f8834e7345d9566c28f66e2/collective.navigationtoggle-1.0.0.zip"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "8eddddd2ac56dddc59a945e45bedce03",
"sha256": "8f90e475d35e5b22576f4e81aa6ff53f97d5c2f1312837e7f6d25bb41a1eaf52"
},
"downloads": -1,
"filename": "collective.navigationtoggle-1.0.1.zip",
"has_sig": false,
"md5_digest": "8eddddd2ac56dddc59a945e45bedce03",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 98875,
"upload_time": "2013-01-24T11:49:07",
"url": "https://files.pythonhosted.org/packages/9c/7a/fd4926004ba8ddde8a352f49f69cef1ec1df34310da3135be4b9b54aa9e8/collective.navigationtoggle-1.0.1.zip"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "06fe61ead8c6cc6007c1471cd570b89b",
"sha256": "445c982ca7616462492f8ca94673566d22d9d1e7593f71377284930bc3324ac6"
},
"downloads": -1,
"filename": "collective.navigationtoggle-1.0.2.zip",
"has_sig": false,
"md5_digest": "06fe61ead8c6cc6007c1471cd570b89b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 100907,
"upload_time": "2014-07-17T09:56:51",
"url": "https://files.pythonhosted.org/packages/13/a1/2ba4f08fc0a0cd16f4bee14459391b79b352bc70a108896d01b26916d5ee/collective.navigationtoggle-1.0.2.zip"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "06fe61ead8c6cc6007c1471cd570b89b",
"sha256": "445c982ca7616462492f8ca94673566d22d9d1e7593f71377284930bc3324ac6"
},
"downloads": -1,
"filename": "collective.navigationtoggle-1.0.2.zip",
"has_sig": false,
"md5_digest": "06fe61ead8c6cc6007c1471cd570b89b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 100907,
"upload_time": "2014-07-17T09:56:51",
"url": "https://files.pythonhosted.org/packages/13/a1/2ba4f08fc0a0cd16f4bee14459391b79b352bc70a108896d01b26916d5ee/collective.navigationtoggle-1.0.2.zip"
}
]
}