-
collective.dexteritytextindexer-2.1.0-1.lbn19.noarch
collective.dexteritytextindexer provides a dynamic SearchableText indexer for dexterity content
types. It makes it possible to index fields of multiple behaviors as SearchableText.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.geo.behaviour-1.2-1.lbn19.noarch
This package provides the ability to assign geographical information to Dexterity-based (plone.app.dexterity) content types within Plone and does so using collective.geo.geographer and collective.geo.mapwidget.
By applying the behaviour Collective Geo Maps to a Dexterity content type, a Coordinates field becomes available when creating or editing said content.
This allows a user to either look-up coordinates for a place or feature via geo-coding, draw a geographical feature (such as a point, line or polygon) on a map, or enter details manually in Well-Known Text (WKT) format.
Collective.geo.behaviour also provides Collective Geo Styles behaviour. By this behaviour it is possible to customize the style of the features that will be displayed on the map for each content type.
Geographical information can be used by the rest of the collective.geo set of packages. For instance, the coordinates can be displayed on maps against Collections or Folders using collective.geo.kml.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.geo.leaflet-0.2.3-1.lbn19.noarch
This package use the collective.geo.* suite with leaflet.
How to add baseLayer
====================
What is a leaflet baseLayer :
http://leafletjs.com/examples/layers-control.html
In Plone, if you want to add a baseLayer, you have to add a subscriber on collective.geo.geographer.interfaces.IGeoreferenced (for exemple, in `configure.zcml`)::
<subscriber
for="collective.geo.geographer.interfaces.IGeoreferenced"
provides="collective.geo.leaflet.interfaces.IMapLayer"
factory=".maplayers.OpenStreetMap
/>
After, create your factory in python (`maplayers.py`)::
from collective.geo.leaflet.maplayers import MapLayer
from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile
class OpenStreetMap(MapLayer):
name = u"osm"
title = _(u"Open Street Map")
index = ViewPageTemplateFile('browser/layers/osm.pt')
And add your javascript into a template file `osm.pt`::
<script type="text/javascript">
var osmAttrib = '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors';
var osmUrl = 'http://{s}.tile.osm.org/{z}/{x}/{y}.png';
var %(name)s = L.tileLayer(osmUrl, {
attribution: osmAttrib,
});
</script>
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.local.addgroup-1.2.2-1.lbn19.noarch
Allows to create a group and assign roles directly from the sharing tab for Plone 4.
Tested on Plone 4.1.
Content types have just to implement IAddNewGroup to have the functionnality.
Also provides a dexterity behaviour.
If you want to enable it for Folder, you only have to add to your buildout.cfg::
[instance]
zcml =
...
collective.local.addgroup
If you don't want the functionality for Folder, but on your own content type,
add to the configure.zcml of your policy module::
<include package="collective.local.addgroup" file="minimal.zcml" />
<class class="my.package.content.MyContent.MyContent">
<implements interface="collective.local.addgroup.interfaces.IAddNewGroup" />
</class>
If you just want this for a dexterity content type, you just have to activate the behaviour.
The user need to LOCALLY have the "Add Groups" permission to add a new group and
"Manage users" to add and remove users from the listed groups.
Add group to local list
-----------------------
The site manager can add groups from sharing table to locally managed groups list.
So then the user with local permissions can manage the group himself.
We don't give this feature to local managers to avoid privilege escalation.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.local.sendto-1.6.1-1.lbn19.noarch
Provides a "Mailing" tab on selected content types.
It provides a 'send email' form where you can select recipients
from the list of members having a local role on the content.
Content types have just to implement ISendToAvailable,
or, if they are dexterity type, to enable the behavior "Send mail tab".
In your policy product :
- Add 'collective.local.sendto' to the 'install_requires' parameter of setup.py
- Add to the configure.zcml::
<include package="collective.local.sendto" />
<class class="my.package.content.MyContent.MyContent">
<implements interface="collective.local.sendto.interfaces.ISendToAvailable" />
</class>
Roles whose you can select users as recipients
are set by a site property : sendToRecipientRoles.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.local.userlisting-1.3-1.lbn19.noarch
Provides a "Members" tab on selected content types.
The view a the list of members having a role on the content,
sorted by role.
Content types have just to implement IUserListingAvailable.
Add to the configure.zcml on your policy product::
<include package="collective.local.userlisting" />
<class class="my.package.content.MyContent.MyContent">
<implements interface="collective.local.userlisting.interfaces.IUserListingAvailable" />
</class>
You can also check the interface in "Interfaces" tab of content in ZMI.
In dexterity, you can select the behaviour.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
collective.local.workspace-1.0rc2-1.lbn19.noarch
This content type bundles all collective.local.* packages.
It adds a workspace dexterity content type where the new WorkspaceManager user role
can manage a groupware :
- inviting new users (to the workspace only) - from collective.local.adduser
- creating groups - from collective.local.adduser - from collective.local.addgroup
Workspace container have a "Members" tab to show all group members - from collective.local.userlisting -,
and an "Emailing" tab to send emails to workspace members - from collective.local.sendto.
A layer IWorkspaceLayer is set on request when you are in a workspace.
A `get_workspace` method in api module gives you the workspace root of any content.
String interpolators give you the title and the url of the workspace in an email
rule action.
Located in
LBN
/
…
/
Plone and Zope
/
BastionLinux 19
-
python3-collective-address-1.6-1.lbn36.noarch
collective.address This package provides an Dexterity behavior for location
addresses to be used in Dexterity based types. How to provide a default value
for the country field -If you want to provide a default value for the IAddress'
country field, you can provide an ComputedWidgetAttribute adapter like so::
from zope.component import provideAdapter from z3c.form.widget import...
Located in
LBN
/
…
/
Business
/
BastionLinux 36
-
python3-collective-ambidexterity-1.0-1.lbn36.noarch
collective.ambidexterity collective.ambidexterity provides through-the-web
editing of views, defaults, validators and vocabularies for Dexterity content
types.Documentation: of the package The package currently only works in Plone
5.Installation Add collective.ambidexterity to the eggs list in your Plone 5
buildout. Run buildout.Use the add/remove addons option in site setup to
activate the...
Located in
LBN
/
…
/
Business
/
BastionLinux 36
-
python3-collective-behavior-talcondition-0.14-1.lbn36.noarch
collective.behavior.talcondition This package works for dexterity (behavior)
and archetypes (schema extender).It adds two fields on a content type or class:
Located in
LBN
/
…
/
Business
/
BastionLinux 36