{ "info": { "author": "Rob Gietema", "author_email": "rob@fourdigits.nl", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python" ], "description": "Introduction\n============\n\n``collective.tinymcetemplates`` is a Plone 3 add-on that provides a TinyMCE\nplugin that allows authors to insert *templates* and *snippets* into the page.\n\nInstallation\n============\n\nAdd ``collective.tinymcetemplates`` to your buildout in the ``eggs`` list, or\nas a dependency in the ``install_requires`` list in the ``setup.py`` file\nfor a product that is already installed in your build. The package's\nconfiguration is loaded automatically by Plone.\n\nYou must also install the product in Plone's Add-on control panel.\n\nUsage\n=====\n\nContent authors can use the new Template button to insert templates into\nthe page.\n\nTemplates are created and managed as standard Plone Pages:\n\n* The Page title is used as the template title\n* The Page description is used as the template description.\n* The Page body is used as the the template content.\n\n*Hint:* If you don't want templates to show up in search results, remember\nthat they need only be accessible to content authors at edit time. You can\nthus put them in a workflow state that gives content authors access. You can\nalso restrict access to templates in this way: an author will not see a\ntemplate built from a Page he does not have the permission to see.\n\nTo create some templates, the quickest option is to create a Folder with the\nid \"templates\" in the root of the site and put one or more Pages in this\nfolder.\n\n*Hint:* You can tick the \"exclude from navigation\" button on the templates\nfolder to make sure it doesn't show up in the portal tabs or navigation tree.\n\nIt's possible to set a different path for templates, and to list multiple\nfolders. In the configuration registry, as managed by `plone.app.registry`_,\nthe template paths are listed under the key\n``collective.tinymcetemplates.templateLocations``. This contains a tuple of\npaths to pages or folders of pages, relative to the portal root. You can\nalso use GenericSetup to manipulate this list. See `plone.app.registry`_ for\ndetails.\n\nWorking with the user's selection\n---------------------------------\n\nYou can insert the user's current editor selection into your template. To do\nthis, you need to add a placeholder div or span with the class ``selcontent``.\nFor example::\n\n

\n You said: (your content here)\n
\n We think this is wrong!\n

\n\n*Hint:* To insert this class, you can either add it as a paragraph or\ncharacter style in the TinyMCE control panel, or insert it into the markup\nmanually via the HTML view.\n\nWhen the user now inserts this template into the page, their current selection\nwill replace the \"(your content here)\" placeholder.\n\n.. _plone.app.registry: http://pypi.python.org/pypi/plone.app.registry\n\nChangelog\n=========\n\n1.0b3 - 2010-07-31\n------------------\n\n* Fix another release issue. Not my day with distribute/PyPI.\n\n1.0b2 - 2010-07-30\n------------------\n\n* Fix a slightly broken release\n\n1.0b1 - 2010-07-30\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://pypi.python.org/pypi/collective.tinymcetemplates", "keywords": "TinyMCE Plone template snippet", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.tinymcetemplates", "package_url": "https://pypi.org/project/collective.tinymcetemplates/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.tinymcetemplates/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/collective.tinymcetemplates" }, "release_url": "https://pypi.org/project/collective.tinymcetemplates/1.0b3/", "requires_dist": null, "requires_python": null, "summary": "TinyMCE Plugin for templates and snippets", "version": "1.0b3" }, "last_serial": 788239, "releases": { "1.0b1": [ { "comment_text": "", "digests": { "md5": "08ebf14607bfd4dcedd82d25392698d6", "sha256": "6d3737c25926eb10d835c81c38459feb510f19dcbf18ede6da0627d1042328cb" }, "downloads": -1, "filename": "collective.tinymcetemplates-1.0b1.zip", "has_sig": false, "md5_digest": "08ebf14607bfd4dcedd82d25392698d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9118, "upload_time": "2010-07-30T10:52:38", "url": "https://files.pythonhosted.org/packages/9c/89/1fff755554e25b5839866e82dfd87d323ea0f9ae1bdfca155d0ff212e838/collective.tinymcetemplates-1.0b1.zip" } ], "1.0b2": [ { "comment_text": "", "digests": { "md5": "310d344633f26adfcf0196417074503c", "sha256": "65f4cb81fa98f2f1b2e65e8b0f2d3bc53c35686d222f0eaf1df40d7f0a0a8470" }, "downloads": -1, "filename": "collective.tinymcetemplates-1.0b2.zip", "has_sig": false, "md5_digest": "310d344633f26adfcf0196417074503c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9163, "upload_time": "2010-07-30T10:55:33", "url": "https://files.pythonhosted.org/packages/37/8f/7c45107888d295218fd4d5f6f07272b6992e98a67e6e7d9496c24d253376/collective.tinymcetemplates-1.0b2.zip" } ], "1.0b3": [ { "comment_text": "", "digests": { "md5": "4e54252b725ae855046f2475154815ff", "sha256": "4fc0e12f5fac5ca4ad4237255c2d6edd2e1ba5992e0d196d942fc0836ebd5058" }, "downloads": -1, "filename": "collective.tinymcetemplates-1.0b3.zip", "has_sig": false, "md5_digest": "4e54252b725ae855046f2475154815ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17757, "upload_time": "2010-07-31T19:24:49", "url": "https://files.pythonhosted.org/packages/de/ce/dd26cccf49fc5b902abfa592a79ac722b3098fbdc0db73ca6a006d2919b5/collective.tinymcetemplates-1.0b3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e54252b725ae855046f2475154815ff", "sha256": "4fc0e12f5fac5ca4ad4237255c2d6edd2e1ba5992e0d196d942fc0836ebd5058" }, "downloads": -1, "filename": "collective.tinymcetemplates-1.0b3.zip", "has_sig": false, "md5_digest": "4e54252b725ae855046f2475154815ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17757, "upload_time": "2010-07-31T19:24:49", "url": "https://files.pythonhosted.org/packages/de/ce/dd26cccf49fc5b902abfa592a79ac722b3098fbdc0db73ca6a006d2919b5/collective.tinymcetemplates-1.0b3.zip" } ] }