Saravanan666/pypi-org huggingface dataset:
Package: collective.portlet.collectionmultiview
IntroductionThe collectionmultiview portlet is a collection portlet which supports multiple
view modes. It inherits the built-in plone.portlet.collection and extend it with
view adapters support.Writing additional viewsCreating an additional view is as simple as writing a class which inherits
from BaseRenderer, and register it as a named adapterSample code:from collective.portlet.collectionmultiview import BaseRenderer
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile

class MyCustomRenderer(BaseRenderer):
    title = 'My Custom Renderer'
    template = ViewPageTemplateFile('path/to/template.pt')ZCML:<configure
   xmlns="http://namespaces.zope.org/zope">

   <adapter name="mycustomrenderer"
       factory=".package.MyCustomRenderer"/>

</configure>Extending portlet schemaYou can also extend the portlet schema with additional fields by setting the
‘schema’ attribute in the renderer class.Sample code:from collective.portlet.collectionmultiview import BaseRenderer
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile

from zope import schema
from zope.interface import Interface
from plone.app.form.widgets.wysiwygwidget import WYSIWYGWidget

class IExtraFields(Interface):
    my_extra_field = schema.Text(title=u'Extra field')

class MyCustomRenderer(BaseRenderer):
    title = 'My Custom Renderer'

    schema = IExtraFields
    template = ViewPageTemplateFile('path/to/template.pt')


    #optional
    custom_widgets = {
        'my_extra_field': WYSIWYGWidget
    }Changelog2.2 (2013-05-15)Plone 4.3 compatibility. PEP 8 cleanup.
[thet]Add Plone entry point in setup.py
[fredvd]2.1.5 (2013-01-24)returning None on attribute not found introduced a major bug when editing,
fixed it by moving this as an adapter in renderer [kagesenshi]2.1.4 (2013-01-24)return None if attribute not found on Assignment to avoid crashy behavior
when new fields are introduced by schema extender [kagesenshi]2.1.3 (2013-01-03)‘random’ field should be in primary schema rather than on defaultrenderer schema [kagesenshi]2.1.2 (2013-01-02)Add ‘available’ property to portlet renderer [kagesenshi]2.1.1 (2012-12-06)Fix unicode decode error for unicode chars in href title for default
renderer [kaerumy].Supported by: Centre for Internet Society, India2.1.0 (2012-11-06)Added support for new style collection [kagesenshi]2.0.2 (2012-03-26)Added way to assign custom widget [kagesenshi]2.0.1 (2012-03-20)Fixed problem with installation of 2.0 due to missing README.rst [jone]2.0 (2012-03-20)Added mechanism for additional views to extend the portlet schema [kagesenshi]Massive code cleanups [kagesenshi]CREDIT: changes above funded by cis-india.org1.1.2 (2011-06-06)Plone 4.1 compat
[aclark]1.1.1 (2011-03-31)bugfix release. fixed a bug with the renderer selector using title as valueinstead of id1.1 (2011-03-27)Plone4 compatibilityRenderers now may have a human readable __name__Removed GalleryRenderer as it is broken anywayHide unnecessary fields from the base Plone collection portlet.1.0 (2010-12-19)fix permission used for portlet
[vangheem]0.1 (2009-12-31)Initial release
Package: collective.portlet.colorcollection
IntroductionChange the renderer of your Plone collection portlet, trying to force a link color
using astyle="color:..."attribute.How to useThis product is fordevelopers. It only add a catalog column (color) and change
the basic Collection Plone renderer to check for this color.Installing this won’t add any real new colors in collection portlets (and we don’t want
… normally color must came from site UI theme, not contents).How support colorsYou can:Support for acolorpropertyAdd to your content types a newcolormethod or property.Support for acolor@indexerAdd an indexer that return the color you want:>>> from plone.indexer.decorator import indexer
>>> @indexer(IMyType)
>>>     def color(object, **kw):
...     return 'red'SeeCustom indexing strategieson Plone documentation section.The color format must be CSS valid. So: ‘red’, ‘#FF0000’, ‘#F00’ or ‘rgb(255,0,0)’ are
all good values.If you return a string that starts with ‘class-’ (like ‘class-foo’), this doesn’t apply the style attribute
but aclass="foo"attribute.CreditsDeveloped with the support ofS. Anna Hospital, Ferrara; S. Anna Hospital supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog0.3.0 (2013-02-13)Added class attribute support [fdelia]Portlet was looking for a non-existings attribute [fdelia]0.2.0 (2012-11-28)Fixed Plone 4 compatibility [micecchi]Fixed portletRenderer customization. Now is registered with the class (Assignment) and not with the interface (ICollectionPortlet). In this way, the custom renderer is registered only for that class (base collection portlet) and not for all the portlets that implements ICollectionPortlet (for example a custom collection portlet). [micecchi]0.1.0 (2011-12-16)Initial release [keul]
Package: collective.portlet.contact
IntroductionDisplay a contact in a Plone portlet.Contacts are provided throw backends. When installed this addon is configured
to use the ‘dummy’ backend.You can configure this addon to use an other backend:Dummy backend, used for testsLDAP backend (add python-ldap in your setup)SugarCRM backend (add the addon collective.sugarcrm)How to InstallThis addon can be installed as installed as any other Plone addon, please
follow the officialdocumentation.Possible problemsI have the following error: “We already have: zope.schema 3.5.4 but z3c.form 2.4.1 requires ‘zope.schema>=3.6.0’.”=> You should add this extra version restriction to your buildout:http://good-py.appspot.com/release/plone.app.z3cform/0.5.0CreditsCompaniesPlanet Makina CorpusContact Makina CorpusAuthorsSylvain BOURELIOU <sylvain.boureliou@gmail.com>ContributorsJeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>Change History1.1.2 (2013-12-09)fix plone4.0 compatibility1.1.1 (2013-12-09)fix AttributeError: ‘Form’ object has no attribute ‘settings’1.1 (2013-01-31)Refactor to use adapter instead of utility. Welcome to addressbook component.Add tests + travis-ci integrationAdd ajax option for webservices backend like sugarcrm1.0 (2012-09-05)move @@ldapJpegPhoto view to collective_portlet_contact_photo view and make it
works with and without ldap.
[toutpt]Add support for schema.org rich snippet [toutpt]1.0b3 (2010-10-30)Fix zcml security declaration for the @@cpc-search browser page.
[sylvainb]Add plone.app.z3cform as dependency.
[sylvainb]Ldap backend: allow to configure ldap_photo_storage, ldap_photo_ofs_directory
and ldap_photo_cache_maxage from the control panel.
[sylvainb]Update french translations.
[sylvainb]1.0b2 (2010-10-07)Update documentation
[toutpt]1.0b1 (2010-10-07)Add cache control max-age on ldap jpegPhoto
[toutpt]Allow to configure a default photo for the LDAP backend.Add backend support for jpegPhoto. configurable throw portal_properties
[toutpt]Add support for jpegPhoto (display+form) with ldap backend
[toutpt]Add french translation
[toutpt]Initial release.
[sylvainb]
Package: collective.portlet.contentleadimage
IntroductionThis portlet behaves like collection portlet, but shows the
contentleadimages and the title of each item. If the item has no lead
image but has a image field (like News Items, for example) then this field
is displayed.This portlet has an extra option to display start dates instead of
publication dates.Another extra option can be used to choose the scale of the images.To install just add collective.portlet.contentleadimage to your buildout’s
eggs and go to the products section of Plone’s control panel.Changelog0.5.1 - 2012-08-20Bugfix release, 0.5 version can’t be installed0.5 - 2012-08-15New option: choose image scaleUpdate translationsAdd some tests0.4 - 2012-06-05Now object’s ‘image’ field is displayed (if exist) if it has no lead
image0.3 - 2012-05-27New option: show start dates instead of publication datesFix i18n of portlets.xmlUpdate translations0.2 - 2012-05-20Explicit dependency on collective.contentleadimage in metadata.xmlAdd i18n namespace to portlets.xmlFix renderer testFix deprecation warning for Products.Five.zcml0.1 - 2011-01-05Initial release
Package: collective.portlet.contentprovider
Introductioncollective.portlet.contentprovider allows you to put content providers like
viewletmanagers into portlets. This tool is meant for use by experienced
theme developers since real-life use is going to require the ability to
rewire viewlets and viewlet managers in ZCML and Generic Setup profiles.Installation is typical for a Plone add on. Add collective.portlet.contentprovider
to your eggs list in your buildout. If using an early version of plone, also
add it to the zcml slugs.Using collective.portlet.contentproviderUse is probably best demonstrate with a real use case: adding a Products.Carousel
slideshow to a portlet. Normally, Carousel adds its banner viewlet,
Products.Carousel.viewlet, to the IContentViews viewletmanager. Let’s say we
wish, instead, to display it in a collective.portlet.contentprovider
portlet.Viewlets aren’t meant for use as direct content providers (they need a manager),
so we need to tell a contentprovider portlet to show a viewletmanager
that displays Products.Carousel.viewlet. So, we could just add a contentprovider
portlet and tell it (in the provider field in the portlet editor) to display
plone.contentviews. This works, but it also drags in everything else handled
by plone.contentviews.So, to do this right, we need to do the typical viewlet dance for moving viewlets
from one manager to another. We’ll also make use of the fact that collective.portlet.contentprovider
registers a viewlet manager that isn’t used anywhere else. So, in our theme
product’s configure.zcml,
all we need to do is set that manager to handle the carousel<browser:viewlet
    name="Products.Carousel.pviewlet"
    for="*"
    manager="collective.portlet.contentprovider.interfaces.IContentProviderPortlet"
    class="Products.Carousel.browser.viewlet.CarouselViewlet"
    permission="zope2.View"
    layer=".interfaces.IThemeSpecific"
/>And, in our viewlets.xml setup file, hide the Carousel viewlet in the old manager:<hidden manager="plone.contentviews" skinname="plonetheme.ucdvaw">
 <viewlet name="Products.Carousel.viewlet"/>
</hidden>Finally, just add a contentprovider portlet and tell it to display collective.portlet.contentprovider_vmanager.Changelog1.1Fix missing file in initial release1.0Initial release
Package: collective.portlet.contentsearch
collective.portlet.contentsearch providesContent Search Portletfor searching Plone’s content types by searchable text filtered by collection.Tested withPlone-4.1.6 [taito]Further Documentation URLhttp://packages.python.org/collective.portlet.contentsearch/Repository URLhttps://github.com/collective/collective.portlet.contentsearch/Changelog0.2 (2012-08-20)Tested with Plone-4.1.6 and Python-2.7. [taito]0.1.6 (2008-10-23)Initial release. [taito]ContributorsAuthorTaito Horiuchi <taito.horiuchi at gmail.com>
Package: collective.portlet.contribute
IntroductionThis package provides a new portlet for Plone 3 called “Contribute content”.
It can be configured with some rich text, a folder and a list of addable
types. It is also possible to specify that the portlet should always work on
the folder where it is being viewed (note that on the dashboard, that will
be the Plone site root!).The portlet will display either an “Add <type name>” button, if there is a
single addable type, or a drop-down list, if more than one type is available.
Note that the list of available types will depend on the current user’s
permissions in the designated target folder. If no types are addable, the
portlet will be hidden.Hint: This portlet works well together with collective.groupdashboard. Set up
a dashboard for each group.The ability to add a new “Contribute content” portlet depends on the
“Contribute Content Portlet: Add portlet” permission. By default, this is
given to managers only.(Note that until Plone 3.3, there was a bug in the portlet management code
that would show portlets that the user did not have permission to view in the
“add portlet” list. Seehttps://dev.plone.org/plone/ticket/8403).Changelog1.0b1 (2009-03-26)Initial release
Package: collective.portlet.customizablerecent
IntroductionA portlet based on “Recent items”, which you can change the title,
the portal types to search,
the time format,
and the root from where to search elements.Changelog1.1.4 (2013-09-05)Fix when root is unicode (with gs).
[thomasdesvenain]1.1.3 (2012-12-13)Fixed release. Fixed MANIFEST.in.
[thomasdesvenain]1.1.2 (2012-12-13)Moved to github.
[thomasdesvenain]Portlet is not hidden to anonymous.
[thomasdesvenain]1.1.1 (2011-12-02)Avoid portlet render fail
if user hasn’t ‘View’ permission on portlet elements root.
[thomasdesvenain]1.1 (2011-10-26)We can hide “All recent changes” link on portlet.
[thomasdesvenain]We can allow/disallow icons display.
[thomasdesvenain]Added an “All recent changes” view that manages customized settings.
[thomasdesvenain]1.0.3 (2011-05-12)long_time_format is a FieldProperty so the edit form doesn’t crash
if an assignment already exist without this attribute.
toLocalizedTime needs long_format=None (giving False is actually True…)
[vincentfretin]1.0.2 (2011-04-27)Added option for displaying time in long format.
[astoroz]1.0.1 (2011-04-19)Include explicitly plone.app.portlets zcml file.
[vincentfretin]1.0.0 (2011-04-06)Initial release.
[thomasdesvenain]InstallationAddcollective.portlet.customizablerecentto the list of eggs to install,
e.g.:[buildout]
...
eggs =
    ...
    collective.portlet.customizablerecentRe-run buildout, e.g. with:$ ./bin/buildoutRestart your Plone instance.Install the module through Plone Modules install configuration form.
Package: collective.portlet.debuginfo
IntroductionThis is a standalone portlet for Plone which can display some useful
information about the currently logged user at a current context like
userinfo, user roles, user permissions or context’s attributes/methods.After installing the package through Quick Installer, go to the manage
portlets view and add a new portlet “Debug Info Portlet”. Portlet add/edit
form allows you to configure a lot of stuff which is hopefully self
explanatory.TODOlist local roleslist inherited roleslist user groupslist roles of groups which is current user member ofChangelog1.0 (2009-05-02)Initial release
Package: collective.portlet.discussion
IntroductionThis is a portlet is a plugin forplone.app.discussionthat show last comments in the portal.You can select to filter comments by state (if comments are moderated) and also a starting path for searches.WorkflowThis product creates two new workflows for comments:comment_one_state_workflowandcomment_review_workflow.With these workflows, comments inherits security settings from parents, fixing a Plone issue.
In this way an user that can’t see a content doesn’t have catalog access to related comments, so comments are not visibile
in the portlet.Installing this product, security settings for old discussions will be updated. Same thing on uninstall step.DependenciesThis product has been tested on Plone 3.3.5 and Plone 4.2CreditsDeveloped with the support ofRegione Emilia Romagna; Regione Emilia Romagna supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog2.0.1 (2022-07-14)Fixed setup.py.
[daniele]2.0.0 (2022-07-14)Python 3 support. Dropped support for Python 2.7 and Plone < 5.2.
[reflab]1.2.6 (2019-05-13)Support Dexterity in the folder widget to show comments only for a specific subtree in the site. [fredvd]1.2.5 (2017-04-28)Fix translations for discussion_list_search. [fredvd]1.2.4 (2017-01-25)Add Dutch translations
[fredvd]1.2.3 (2016-04-04)Fixed tests [cekk]Bugfix, isAnon missing [tobiasherp]pep8ification, formatting [tobiasherp]1.2.2 (2013-11-07)Fixed imports in template [andrea]1.2.1 (2013-07-26)Added class tile to portlet header [andrea]1.2.0 (2013-06-26)Added support for Site Administrator role [keul]1.1.0 (2012-11-23)Added new workflows for Discussion Items [micecchi]Plone 4 compatibility [micecchi]1.0.1 (2011-07-10)Fixed filtered results [micecchi]1.0.0 (2011-01-20)Initial release [micecchi]
Package: collective.portlet.embed
IntroductionThis addon provide a new portlet: Embed portlet.This portlet let you copy / paste HTML code from services like facebook, twitter, youtube and display the result in a portlet.The portlet is based on the static portlet, so you have the same options: omit borders, more url, …You can find a demo athttp://www.youtube.com/watch?v=it1hMtZKle8CreditsCompaniesPlanet Makina CorpusContact Makina CorpusAuthorsJeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>ContributorsRalph Jacobs <ralph@fourdigits.nl>Luca Fabbri <luca@keul.it>Changelog1.3.0 (2017-09-14)Added CSS class field [pnicolli]1.2 (2015-09-10)Plone 5 compatibility (dropped Plone 3.3)Added italian translation [keul]Use z3cform for portlet addform/editform [toutpt]1.1 (2012-09-04)Update translations [toutpt]Added translations for english and dutch [ralphjacobs]1.0 (2012-02-13)update package metadatasadd autoinclude1.0a1 (2011-12-27)Initial release
Package: collective.portlet.existingcontent
Allows to show data of an existing content object (Document) inside a portlet.Features:add & change “Existing Content” Portlet.relate to Document object.allow/disallow display of the Document titleallow/disallow display of the Document descriptionallow/disallow display of the Document textTodo:allow/disallow display of the Document leadimagecontrol which content types are allowedTranslationsThis product has been translated intoEnglishGermanInstallationInstall collective.portlet.existingcontent by adding it to your buildout:[buildout]

...

eggs =
    collective.portlet.existingcontentand then runningbin/buildoutSupport & ContributeIf you are having issues, please let us know.Issue Tracker:https://github.com/collective/collective.portlet.existingcontent/issuesSource Code:https://github.com/collective/collective.portlet.existingcontentLicenseThe project is licensed under the GPLv2.ContributorsMarkus Hilbert,markus.hilbert@iham.atChangelog1.0.4 (2022-03-19)Remove problematic python_requires in setup.py. [fredvd]1.0.3 (2022-02-20)Use safe_text to convert to unicode for Python3. [fredvd]1.0.2 (2019-07-25)Fixed displayed Title in Portlet Management.
[iham]Added additional classes to rendered porlet.
[agitator]Fixed Portlet Assignment.
[iham]1.0.1 (2019-05-13)Removed image related fields from schema.
[iham]1.0.0 (2019-05-10)Initial release.
[iham]
Package: collective.portlet.explore
IntroductionThis package implements theExploreportlet for Plone 3: a navigation
menu which supports expand/collapse.This portlet uses jQuery live events, which were added in jQuery 1.3. If you
use an older version of jQuery this portlet will not work.Plone versions up to 3.3rc2 include jQuery 1.2, so if you use those you will
need to manually update thejquery.jsfile shipped with Plone. Plone 3.3rc3
and later already include jQuery 1.3.Changelog1.2 - Aug 13, 2013Fix for Internet Explorer: hyperlinks in navigation tree did not work because of table-tag in a-tag [kysr]1.1 - June 19, 2013Added Dutch translation [kysr]Added conditional include of CMFCore permisssions.zcml for Plone 4.1 support
[rbeylerian]Fix JS regex to match UIDs with dashes in them [jcbrand]Fix the NavtreeStrategy to derive from NavtreeStrategyBase in order to have
a default supplimentQuery [tiazma]1.0 - June 23, 2011Document the jQuery 1.3 dependency [wichert]Plone 4 compatible, fixes #10 [ida]1.0rc3 - July 3, 2009Rewrite to use pure jQuery instead of KSS. This reduces page load time
by multiple seconds for non-trivial navigation trees on older browsers.
[dannyb, andreh, wichert]1.0rc2 - March 16, 2009Add HTTPCache statement for twistie images.
[wichert]Update navigation tree for PLIP 126 merge.
[wichert]1.0rc1 - April 24, 2008Explicitly disable event bubbling for twistie clicks. This is not an issue
for the standard markup, but makes things easier for customizations which
put the twistie inside an anchor.
[wichert]Correctly set the CSS class for the twistie for already opened folders
to expandedNode.
[wichert]Rename local kss module to browser to prevent conflicts with top level
kss.
[wichert]1.0b1 - March 6, 2008First release
[fschulze, wichert]
Package: collective.portlet.facet
IntroductionThis is a facet navigation portlet. The goal is to create a simple implementation that can be extended,
rather than a package that does everything.Change history0.1a - (2009-11-25)Initial alpha releaseContributorsRobin Harms Oredsson (author)Martin Lundwall (co-author)Raphael Ritz (Lots of good ideas)Joergen Modin (Keeping us on track :)Known IssuesNone that we know of
Package: collective.portlet.fancyboxgallery
IntroductionThis addon add a Gallery portlet to Plone. It is based oncollective.gallery,collective.js.fancyboxfor the renderingCreditsCompaniesPlanet Makina CorpusContact usAuthorJeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>Changelog1.0 (2012-12-06)Initial release
Package: collective.portlet.fblikebox
IntroductionAdvertise your organization’s desire to be liked with a Facebook “Like Box”
in a portlet. For more information on FB Like Boxes, seehttp://developers.facebook.com/docs/reference/plugins/like-box.Like boxes are implemented in IFrames, and require specification of pixel
width and height. These are among the portlet’s configurable properties.Other configurable properties include the header, profile stream and
connection count.InstallationSimply add collective.portelet.fblikebox to your egg list. Run buildout,
restart Plone, then use the add/remove add-on configlet in site setup to
enable the add on for a particular site.CompatabilityThis should work with Plone 3 or 4 – until Facebook changes the API and
breaks it.Changelog1.0 2010-08-23Initial release
Package: collective.portlet.filtersearch
collective.portlet.filtersearchThis package defines a portlet that shows additional filter of current search results.
The filtering works in two modes.Results grouped by a simple index/valueAdditionally group by unique values of selected criteriaInstallationTo install just add a collective.portlet.filtersearch to your buildout file:[buildout]
...
eggs =
    collective.portlet.filtersearch
    ...Package uses z3c.autoinclude so there is no need to add it into your zcml section.Restart your zope instance and install it via Add/Remove product in Plone control panel.SettingIn the portlet edit form you can define which filters should appear in the portlet:Criteria title - The title of criteria displayed in the portlet
Main index - Name of index which is used to group it ( it has to be in metadata too )
Value - The value of the index that the brain has to match to groupAnd additional values:Expand list with unique values - Check box to enable the sub filtering
Sub index - Name of index which is used for listing unique groups dynamicallyYou can add as many criteria as you likeHint: To enable the portlet at the search template, just add it to your site root
and remove the line <metal:block fill-slot=”column_two_slot” /> to enable portlets at all.TODOHow to determine when display the portlet and when hide - fix the available propertyAdd some tests would be niceChangelog0.3 (2010-01-15)Fixed weird behaviour of session by storing request.form within it0.2Changed behaviour so the portlet remebers the first search0.1 (unreleased)Initial release