Skip to main content

An add-on for Plone 5

Project description

Features

  • Adds an output filter that changes all the internal link in a page (the ones with resolveuid) to the absolute url of that plone object.

  • Adds the ILeadImage behavior to the Link content type so you can add an image to a link object.

  • If the link is internal to the site, the page template of the actual link (if you have the right permissions) shows the absolute url of the linked object.

Notes on upgrading this add-on

If you come from a 0.1.x version, make sure to upgrade to the 2.0 and run the upgrade step before upgrading further to avoid issues.

Installation

Install collective.smartlink by adding it to your buildout:

[buildout]

...

eggs =
    collective.smartlink

and then running bin/buildout

Contribute

Support

If you are having issues, please let us know.

License

The project is licensed under the GPLv2.

Contributors

Changelog

0.2.0 (2018-12-13)

Upgrade step required.

  • Removed override for Link add/edit forms [arsenico13]

  • Removed changes to the link schema (the ‘schema’ folder is still in the product just for avoid errors while upgrading: will be removed at the next version of the add-on) [arsenico13]

  • Removed indexers [arsenico13]

  • NEW: Added an output filter that changes every resolveuid for an internal link found in a page with the absolute_url of that plone object. [arsenico13]

  • NEW: No more ‘internal_link’ field. Right now, all is done with the field remoteUrl as the standard Plone Link type. [arsenico13]

  • link.pt: when the link is internal, the template shows the absolute url to the linked object. It’s more human readable than the resolveuid link… [arsenico13]

0.1.1 (2018-09-28)

  • Fixed view when link is broken [daniele]

0.1.0 (2017-09-13)

  • Removed plone directives form deprecated [fdelia]

Project details


Download files

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

Source Distribution

collective.smartlink-0.2.0.tar.gz (21.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page