{
"info": {
"author": "Steve McMahon",
"author_email": "steve@dcn.org",
"bugtrack_url": null,
"classifiers": [
"Framework :: Plone",
"Programming Language :: Python"
],
"description": "Introduction\n============\n\ncollective.portlet.contentprovider allows you to put content providers like\nviewletmanagers into portlets. This tool is meant for use by experienced\ntheme developers since real-life use is going to require the ability to\nrewire viewlets and viewlet managers in ZCML and Generic Setup profiles.\n\nInstallation is typical for a Plone add on. Add collective.portlet.contentprovider\nto your eggs list in your buildout. If using an early version of plone, also\nadd it to the zcml slugs.\n\nUsing collective.portlet.contentprovider\n========================================\n\nUse is probably best demonstrate with a real use case: adding a Products.Carousel\nslideshow to a portlet. Normally, Carousel adds its banner viewlet,\nProducts.Carousel.viewlet, to the IContentViews viewletmanager. Let's say we\nwish, instead, to display it in a collective.portlet.contentprovider\nportlet.\n\nViewlets aren't meant for use as direct content providers (they need a manager),\nso we need to tell a contentprovider portlet to show a viewletmanager\nthat displays Products.Carousel.viewlet. So, we could just add a contentprovider\nportlet and tell it (in the provider field in the portlet editor) to display\nplone.contentviews. This works, but it also drags in everything else handled\nby plone.contentviews.\n\nSo, to do this right, we need to do the typical viewlet dance for moving viewlets\nfrom one manager to another. We'll also make use of the fact that collective.portlet.contentprovider\nregisters a viewlet manager that isn't used anywhere else. So, in our theme\nproduct's configure.zcml,\nall we need to do is set that manager to handle the carousel ::\n\n \n\nAnd, in our viewlets.xml setup file, hide the Carousel viewlet in the old manager::\n\n \n \n \n\nFinally, just add a contentprovider portlet and tell it to display collective.portlet.contentprovider_vmanager.\n\n\nChangelog\n=========\n\n1.1\n---\n\n- Fix missing file in initial release\n\n1.0\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://svn.plone.org/svn/collective/",
"keywords": "Plone portlet viewlet contentprovider",
"license": "GPL",
"maintainer": null,
"maintainer_email": null,
"name": "collective.portlet.contentprovider",
"package_url": "https://pypi.org/project/collective.portlet.contentprovider/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/collective.portlet.contentprovider/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "http://svn.plone.org/svn/collective/"
},
"release_url": "https://pypi.org/project/collective.portlet.contentprovider/1.1/",
"requires_dist": null,
"requires_python": null,
"summary": "Renders a content provider in a portlet",
"version": "1.1"
},
"last_serial": 788031,
"releases": {
"1.0": [
{
"comment_text": "",
"digests": {
"md5": "fbc6a7af852d621c91b25a1540f24dab",
"sha256": "2809fa7523006987c38623727fda05b496bdae018104f918669306755037d45c"
},
"downloads": -1,
"filename": "collective.portlet.contentprovider-1.0.zip",
"has_sig": false,
"md5_digest": "fbc6a7af852d621c91b25a1540f24dab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12731,
"upload_time": "2011-02-28T19:24:56",
"url": "https://files.pythonhosted.org/packages/4d/09/c205d73fe0fb1df01c459de1065dd687c3945cc483a277ec2034f9402e58/collective.portlet.contentprovider-1.0.zip"
}
],
"1.1": [
{
"comment_text": "",
"digests": {
"md5": "c05ab4410f0eeec2543f4ae3abfae8f7",
"sha256": "9580efe35f9cea329041f607bf49e15fdbf914de8f9bf1618e5fdb2f06fb49c1"
},
"downloads": -1,
"filename": "collective.portlet.contentprovider-1.1.zip",
"has_sig": false,
"md5_digest": "c05ab4410f0eeec2543f4ae3abfae8f7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23880,
"upload_time": "2011-04-01T23:55:35",
"url": "https://files.pythonhosted.org/packages/b9/fc/51aba6a9feac451b2fd620b6be0bc2c456f9bd03861d6884be2cd86c0720/collective.portlet.contentprovider-1.1.zip"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "c05ab4410f0eeec2543f4ae3abfae8f7",
"sha256": "9580efe35f9cea329041f607bf49e15fdbf914de8f9bf1618e5fdb2f06fb49c1"
},
"downloads": -1,
"filename": "collective.portlet.contentprovider-1.1.zip",
"has_sig": false,
"md5_digest": "c05ab4410f0eeec2543f4ae3abfae8f7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23880,
"upload_time": "2011-04-01T23:55:35",
"url": "https://files.pythonhosted.org/packages/b9/fc/51aba6a9feac451b2fd620b6be0bc2c456f9bd03861d6884be2cd86c0720/collective.portlet.contentprovider-1.1.zip"
}
]
}