Git Product home page Git Product logo

collective.permalink's Introduction

collective.permalink

This adds a permalink to every supported Plone content. A permalink is a link to the content that should never change even if you rename or move it.

Features

  • Permalink as object action or as document action
  • javascript copy to clipboard on click event

Translations

This addon has been translated into

  • English

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.

Permalink preview in a basic Plone site

Credits

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

Azienda USL's logo

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

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

academy of fine arts vienna

Contribute

License

The project is licensed under the GPLv2.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.