{ "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", "Programming Language :: JavaScript", "Programming Language :: Python" ], "description": ".. contents:: **Table of contents**\n\nIntroduction\n============\n\nThis is a plugin for `TinyMCE`__ editor for Plone.\n\n__ http://pypi.python.org/pypi/Products.TinyMCE/\n\nIt will replace in the less obtrusive way the standard *plonelink* plugin, providing a version that\nhandle in a different way links to File and Image contents.\n\nDetailed documentation\n======================\n\nWhen the link is not internal or not to a file nothing will change and standard Plone behavior is kept.\n\nWhen you link a *file* or an *image* inside the Plone site you commonly get this XHTML code...::\n\n Download the document\n\nInstead you'll get this...::\n\n Download the document\n\n(the same if you have enabled \"*Link using UIDs*\")\n\nThe plugin also add a CSS to your Plone site that:\n\n* Add the image icon based on file's mimetype, on the left of the link (if on IE, need IE 7 or better)\n* After the linked text will be added a `text generated with CSS`__, with the same content you find in the\n *title*, put in bracket (need IE 8 or better).\n IE users with old versions still get's some additional information thanks to the *title* HTML attribute. \n\n__ http://www.w3.org/TR/CSS2/generate.html\n\n.. figure:: http://blog.redturtle.it/pypi-images/collective.tinymceplugins.advfilelinks/collective.tinymceplugins.advfilelinks-1.1.0-01.png/image_preview\n :alt: Screenshot of what you see on your browser\n :target: http://blog.redturtle.it/pypi-images/collective.tinymceplugins.advfilelinks/collective.tinymceplugins.advfilelinks-1.1.0-01.png\n \n How a normal page looks like \n\n.. figure:: http://blog.redturtle.it/pypi-images/collective.tinymceplugins.advfilelinks/collective.tinymceplugins.advfilelinks-1.1.0-02.png/image_preview\n :alt: Screenshot of what you see in the TinyMCE generated HTML\n :target: http://blog.redturtle.it/pypi-images/collective.tinymceplugins.advfilelinks/collective.tinymceplugins.advfilelinks-1.1.0-02.png\n \n What you will find inside TinyMCE\n\nCustomize format of link to contents\n------------------------------------\n\nPlone normally doesn't manage link to file is special ways (it simply generate a link to the base URL of\nthe content). \n\nThis plugin will add a new control inside advanced settings:\n\n.. figure:: http://blog.redturtle.it/pypi-images/collective.tinymceplugins.advfilelinks/collective.tinymceplugins.advfilelinks-1.1.0-03.png/image_preview\n :alt: Advanced settings\n :target: http://blog.redturtle.it/pypi-images/collective.tinymceplugins.advfilelinks/collective.tinymceplugins.advfilelinks-1.1.0-03.png\n \n The \"Link format\" option, inside advanced settings\n\nPlaying with those options can change the format of the generated link, adding a suffix to it.\n\n*Direct link to content* (TinyMCE default)\n Do not add any suffix.\n*Link to content's preview* (default for *Image*)\n A link to a view of the content\n*Link to download content* (default for *File*)\n Force the download of the file (or image)\n\nMost of the time \"*Link to download content*\" is like \"*Direct link to content*\": calling ``url/to/a/file`` is like\ncalling ``url/to/a/file/at_download/file``, but without an explicit ``at_download/file`` sometimes the target file\ncan be opened by browser plugins (expecially common for images, where ``url/to/an/image`` will open the image in\nthe browser).\n\nThe \"*Link to content' preview*\" can ne used to create links that are not opening the attachment, but move user to\nthe Plone content.\n\nExtending for custom contents\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nLet say you are using a new Plone content type, like a Video. You want that TinyMCE links to video contents in a\ncustom way.\n\nWhat you need is to provide a new adapter for the ``IFileSuffixes`` interface::\n\n \n\nThe provide the Python adapter code::\n\n class YourVideoTypeDownloadSuffix(object):\n implements(IFileSuffixes)\n \n def __init__(self, context, request):\n self.context = context\n self.request = request\n self.download_suffix = '/video_download'\n self.view_suffix = '/preview_video'\n self.default_suffix = 2\n\nYou can provide three options:\n\n``download_suffix``\n Provide the suffix to be added when using \"*Link to download content*\"\n for your content.\n \n Set the value to ``None`` and no suffix wil be added or used\n``view_suffix``\n Provide the suffix to be added when using \"*Link to content's preview*\"\n for your content.\n \n Set the value to ``None`` and no suffix wil be added or used\n``default_suffix``\n Provide ad integer value to be used for settings the default combo box option.\n Use 1 for the first combo option, 2 for the second, and so on.\n\nYou can use this feature also for overriding default behavior for File and Image contents.\n\nDependencies\n============\n\nThis product has been tested with:\n\n* Plone 3.3.5 and TinyMCE 1.1.12\n* Plone 4.2.4 and TinyMCE 1.2.15\n\n.. Warning::\n This product will **not work** on Plone 4.3 or on every other Plone versions that use\n Products.TinyMCE 1.3 or better. Sorry... maybe in future!\n \n Why? Products.TinyMCE 1.3 has been rewritten from scratch.\n\nInternet Explorer 9 users\n-------------------------\n\nProducts.TinyMCE 1.2 and below suffer of knows problems with IE version 9 (and above).\nThose problems have ben fixed in Products.TinyMCE 1.3 but, as said above, this plugin will\nnot work on version 1.3.\n\nInstead of upgrade you can then apply one of the `knows workarounds`__.\n\n__ http://dev.plone.org/ticket/11690\n\nCredits\n=======\n\nDeveloped with the support of `Regione Emilia Romagna`__;\nRegione Emilia Romagna supports the `PloneGov initiative`__.\n\n__ http://www.regione.emilia-romagna.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\nThanks to the `University of Ferrara`__ for providing CSS rules to be more compatible with additional\nmimetypes.\n\n__ http://www.unife.it/\n\n\n\n\nChangelog\n=========\n\n1.3.2 (2014-12-10)\n------------------\n\n- Ported a bugfix closed in the original TinyMCE file plugin.\n See `@0082163c6d`__ \n [keul]\n\n__ https://github.com/plone/Products.TinyMCE/commit/0082163c6d4ccdd5b4f55e330807297999030b8f\n\n1.3.1 (2014-06-20)\n------------------\n\n- Fixed CSV icon (similar to `pull request #2`__ on collective.mtrsetup)\n and setted as non-binary\n [keul]\n- Support for *odp* file\n [keul]\n- Changed icon for *zip* and *rar*\n [keul]\n\n__ https://github.com/collective/collective.mtrsetup/pull/2\n\n1.3.0 (2014-05-27)\n------------------\n\n- Now depends on `collective.mtrsetup`__ to support also\n a lot of additional mime types [keul]\n- New CSV support [giacomos, keul]\n- Default icon for unknow file [giacomos, keul]\n\n__ https://pypi.python.org/pypi/collective.mtrsetup\n\n1.2.1 (2013-09-18)\n------------------\n\n- Fixed a JavaScript error when referencing non-file contents [keul]\n- Do not display the additional file's information when not referencing file\n types [keul]\n\n1.2.0 (2013-02-27)\n------------------\n\n- Restored the default TinyMCE link suffix as default [keul]\n- Added a new adapter option: ``default_suffix``, to be able to\n control link type defaul by type [keul]\n- ``IFileSuffixes`` adapters are now multiapdaters (using request also)\n so customizing types with browserlayer will be possible [keul]\n\n1.1.0 (2012-12-05)\n------------------\n\n* Fixed plugin (removed ``region-content`` id) [keul]\n* Added label for additional info in file popup [keul]\n* i18n support (and italian translation provided) [keul]\n* Now uninstall cleanly [keul]\n* Added link format inside advanced settings [keul]\n* Now supporting new advanced and pluggable option: \"*Link format*\"\n to handle how the URL to file is created [keul]\n* Added support for internal link to image content type [keul]\n\n1.0.0 (2012-10-10)\n------------------\n\n* Fixed Plone 4 compatibility icons drawing in popup template [cekk]\n\n0.2.1 (2012-04-20)\n------------------\n\n* Version 0.2.0 was not upgrading properly [keul]\n\n0.2.0 (2012-04-20)\n------------------\n\n* now require ``z3c.jbot`` because to fix a bug related to a broken context menu\n [keul]\n* no more using a separate link plugin, but we are forced to use the original\n ones (for the fix above) [keul]\n* added a product layer [keul]\n* updated template and code to Product.TinyMCE 1.2 family [keul]\n\n0.1.0 (2011-10-13)\n------------------\n\n* *University of Ferrara* provided some more CSS rules for better integration\n with MS Office files [keul]\n\n0.0.1alpha (2010-07-20)\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.tinymceplugins.advfilelinks", "keywords": "tinymce plugin file link", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.tinymceplugins.advfilelinks", "package_url": "https://pypi.org/project/collective.tinymceplugins.advfilelinks/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.tinymceplugins.advfilelinks/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://plone.org/products/collective.tinymceplugins.advfilelinks" }, "release_url": "https://pypi.org/project/collective.tinymceplugins.advfilelinks/1.3.2/", "requires_dist": null, "requires_python": null, "summary": "An advanced Plone TinyMCE plugin for handling links to files", "version": "1.3.2" }, "last_serial": 1338858, "releases": { "0.0.1alpha": [ { "comment_text": "", "digests": { "md5": "4a2c4a4d4585a6c03159435aa2608aa9", "sha256": "55d4326858ae198332556c8bcaddffff90716c107bac1209b40a448eca5f6eff" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-0.0.1alpha-py2.4.egg", "has_sig": false, "md5_digest": "4a2c4a4d4585a6c03159435aa2608aa9", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 98855, "upload_time": "2010-07-20T17:35:09", "url": "https://files.pythonhosted.org/packages/7f/25/227c1ea27a3978a1c6d09e637462518b4fda4ced1b78aec6ff1df52bdfb2/collective.tinymceplugins.advfilelinks-0.0.1alpha-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "843c5c5ede2b533c14abd8db710e54cb", "sha256": "942b5a4174c2ec3a608204a4de69e1d8c5767c09a8b1c0ea801f66cd272ddc78" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-0.0.1alpha.tar.gz", "has_sig": false, "md5_digest": "843c5c5ede2b533c14abd8db710e54cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57152, "upload_time": "2010-07-20T17:35:08", "url": "https://files.pythonhosted.org/packages/3c/92/923e8280544a7299b8b63a972aa74d0c82c171c2683a4c2064378fcf2c45/collective.tinymceplugins.advfilelinks-0.0.1alpha.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "f9b87e3848f6c2513b8ecc73055e6d5f", "sha256": "11fce28ad55680f2902136890e38a897da4daf34f3a610c0b831c858029a8907" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f9b87e3848f6c2513b8ecc73055e6d5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 59468, "upload_time": "2011-10-13T10:21:12", "url": "https://files.pythonhosted.org/packages/bd/10/dcc3f6b45625af77678fe31f437407cf8369d841b219d262e416df06808a/collective.tinymceplugins.advfilelinks-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d9b8df5cf6260107b2c8945ab81e28ec", "sha256": "9053839c2cc7757d8e4c9e2ce5cce6398beed69bdc819542feba132f602b2a9d" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d9b8df5cf6260107b2c8945ab81e28ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24737, "upload_time": "2012-04-20T14:22:12", "url": "https://files.pythonhosted.org/packages/82/ef/611cedae767363d89d0b5658c152c767426cd1318a820efe91465c6a28b2/collective.tinymceplugins.advfilelinks-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e9ba1a6ca68000e24a3b9c96a4dd1486", "sha256": "8f8d4d1298ddcec7f30bd2378fdb4e96e82c490802415845a958cded33a6fe49" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-0.2.1.tar.gz", "has_sig": false, "md5_digest": "e9ba1a6ca68000e24a3b9c96a4dd1486", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24799, "upload_time": "2012-04-20T16:38:14", "url": "https://files.pythonhosted.org/packages/23/2a/c173bf3ae2e705040a59dc9953f17db78e3a4aae4c5179c912914a00727a/collective.tinymceplugins.advfilelinks-0.2.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "72a31247db71d9d9cb1301d9d090fb1d", "sha256": "6d6e7a02f1e498bb34b7b43bb17009c3b1eae372b850eb71a3969be6bfea5a7e" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-1.0.0.zip", "has_sig": false, "md5_digest": "72a31247db71d9d9cb1301d9d090fb1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38767, "upload_time": "2012-10-10T09:35:29", "url": "https://files.pythonhosted.org/packages/af/a8/84b69371eb7e5baf8221f64b36a09708492835f1d523b5b9cc5c51ebfe16/collective.tinymceplugins.advfilelinks-1.0.0.zip" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "5e4c5490c65ceacc904870f8573fbc92", "sha256": "57085cfaead56aff27921820c73df86238ac9ede630425cfae1ee0fa6b288581" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-1.1.0.zip", "has_sig": false, "md5_digest": "5e4c5490c65ceacc904870f8573fbc92", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47513, "upload_time": "2012-12-05T16:30:32", "url": "https://files.pythonhosted.org/packages/93/a2/ca5838cfcc144056e417d14f4d407d76e44adc168d64f617b003e34042ae/collective.tinymceplugins.advfilelinks-1.1.0.zip" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "792d94e702b33f682692e607586fe075", "sha256": "4291b879144b5866a6e86d11bf1fd6a8658b069539a4ad092f799d10873086b7" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-1.2.0.zip", "has_sig": false, "md5_digest": "792d94e702b33f682692e607586fe075", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50976, "upload_time": "2013-02-27T11:42:45", "url": "https://files.pythonhosted.org/packages/cb/0a/5d29b21224d0c3f4e38123b3ac487726a39c624a85c24243d3e6a4718b59/collective.tinymceplugins.advfilelinks-1.2.0.zip" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "6a964316033996bf87801af6ba0c45ec", "sha256": "178dcf8e65e77dfebf08618ad57604a900005c0c172dc355b4bd0163d3ae652d" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-1.2.1.zip", "has_sig": false, "md5_digest": "6a964316033996bf87801af6ba0c45ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51712, "upload_time": "2013-09-18T08:20:07", "url": "https://files.pythonhosted.org/packages/80/f6/fbdd51a2a78600c8945164e6ed54b12dddfe0dd31e0f01e14a8e9ed2b88c/collective.tinymceplugins.advfilelinks-1.2.1.zip" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "3add33f5dbc93cb0d042fe9b37f7180f", "sha256": "56a6378e8c245f4ef10cee59c7e9a9ea8eb0a7a4b87ab34daa018943002b019c" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-1.3.0.zip", "has_sig": false, "md5_digest": "3add33f5dbc93cb0d042fe9b37f7180f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53454, "upload_time": "2014-05-27T10:07:28", "url": "https://files.pythonhosted.org/packages/cf/d1/953940b9b29fa144eb720d6e65f5b5350ab6057525500cd5426aa8f36d22/collective.tinymceplugins.advfilelinks-1.3.0.zip" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "71a489de9dbc8d50f204fa30f7a9f63c", "sha256": "bebac8437fc9481683848d6dd576344c4684767f12fb4b4eb4f63b392a00882d" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-1.3.1.zip", "has_sig": false, "md5_digest": "71a489de9dbc8d50f204fa30f7a9f63c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 54654, "upload_time": "2014-06-20T11:51:56", "url": "https://files.pythonhosted.org/packages/b7/48/757ca3ddef3a1f058f85b891c169a26895e54acd38fc1f6bc07618713ed5/collective.tinymceplugins.advfilelinks-1.3.1.zip" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "16a70677fc2149b0e07feb834b328cb8", "sha256": "a364c32aff5f694451e68ce19036c278d0a94b44b60bfd2ddd46dccde65f2bce" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-1.3.2.zip", "has_sig": false, "md5_digest": "16a70677fc2149b0e07feb834b328cb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 54975, "upload_time": "2014-12-10T21:21:17", "url": "https://files.pythonhosted.org/packages/ab/92/0c0392389ef10e2afbd5a4f9b21af99c65074654da540f5186c6e9d7f48c/collective.tinymceplugins.advfilelinks-1.3.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16a70677fc2149b0e07feb834b328cb8", "sha256": "a364c32aff5f694451e68ce19036c278d0a94b44b60bfd2ddd46dccde65f2bce" }, "downloads": -1, "filename": "collective.tinymceplugins.advfilelinks-1.3.2.zip", "has_sig": false, "md5_digest": "16a70677fc2149b0e07feb834b328cb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 54975, "upload_time": "2014-12-10T21:21:17", "url": "https://files.pythonhosted.org/packages/ab/92/0c0392389ef10e2afbd5a4f9b21af99c65074654da540f5186c6e9d7f48c/collective.tinymceplugins.advfilelinks-1.3.2.zip" } ] }