Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Show a new link (permalink) in Plone contents. This will not change if you move the content itself.

Project Description

Development setup

Assuming you have a clean python 2.7 with virtualenv and pip:

cd <your sandbox dir>
git clone https://github.com/collective/collective.permalink.git
cd collective.permalink
<virtualenv2.7> .
source ./bin/activate
pip install -Ur requirements.txt
buildout

Running instance:

instance fg

Running code-analysis:

code-analysis

Running tests:

./bin/test -s collective.permalink

Usage in other project

Use as egg via buildout

Install collective.permalink by adding it to your buildout.cfg:

[instance]
recipe = plone.recipe.zope2instance
...
eggs =
  ...
  collective.permalink
  ...

Use as egg via setup.py

Install collective.permalink by adding it to your setup.py:

install_requires=[
    ...
    'collective.permalink',
    ...
]

Use as source via buildout

Install collective.permalink by adding it to your buildout.cfg mr.developer is needed!:

[sources]
collective.permalink = git https://github.com/collective/collective.permalink.git
...

and then running buildout

How to use

The default implementation is based on the Plone resolveuid feature. This will not work (and shows anything) for contents without the plone.uuid support. You can however customize and develop additional adapters for providing permalink for yours types (or customize the default one).

The new resource will be added to the document actions section.

Credits

Developed with the support of Azienda USL Ferrara; Azienda USL Ferrara supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

Plone5 upgrade and improvements by the development dept. (gogo & iham) of the academy of fine arts vienna.

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0.1 (unreleased)

  • fixed permission for view. [iham]

1.0.0 (2017-06-28)

Dropped Plone 4 compatibility.

  • upgrade to Plone5
  • clean up code using flake8 conventions
  • added tests
  • added controlpanel
  • added javascript “copy to clipboard” on click [iham]

0.2.1 (2016-01-20)

  • make permalink respect typesUseViewActionInListings [pbauer]

0.2.0 (2013-04-11)

Dropped Plone 3 compatibility

  • Fixing import for Plone 4.2 [keul]
  • Now based on plone.uuid to this should work also for dexterity based contents [keul]

0.1.0 (2010-07-07)

  • initial release
Release History

Release History

This version
History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.permalink-1.0.1.tar.gz (3.6 MB) Copy SHA256 Checksum SHA256 Source Aug 9, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting