collective.smartlink
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.
If the link points to a deleted or an unpublished resource, you get redirected to the home page and a warning message is displayed.
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
Issue Tracker: https://github.com/RedTurtle/collective.smartlink/issues
Source Code: https://github.com/RedTurtle/collective.smartlink
Support
If you are having issues, please let us know.
License
The project is licensed under the GPLv2.
Contributors
RedTurtle Technology, sviluppoplone@redturtle.it
Changelog
2.0.0 (2026-03-26)
Plone 6 compatibility. Use 1.x tags for Plone < 6. [cekk] [cekk]
1.1.0 (2020-03-06)
Python 3 compatibility. [cekk]
Change behavior name plone.app.contenttypes.behaviors.leadimage.ILeadImage -> plone.leadimage [cekk]
1.0.1 (2019-03-14)
If the link points to a deleted or an unpublished resource, you get redirected to the home page and a warning message is displayed (#15734). [arsenico13]
1.0.0 (2018-12-14)
Version bump that needed to be done in the previous release :) [arsenico13]
Fixed the upgrade step from 1000 to 1100: the upgrade now works even if the Link objects points to a deleted resource. When you run the upgrade, check the logs for more info. [arsenico13]
Changes to link.pt to show a message if the internal link is broken and user can edit [arsenico13]
Raise 404 if an internal link is broken and user can’t edit [arsenico13]
Reviewed some italian translations [arsenico13]
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]
Metadata
Release files for collective.smartlink 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective_smartlink-2.0.0.tar.gz | 25.5 kB | Without provenance | Details for collective_smartlink-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| collective_smartlink-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for collective_smartlink-2.0.0-py3-none-any.whl |
Total release size: 47.9 kB
Release files / collective_smartlink-2.0.0.tar.gz
| Download URL | collective_smartlink-2.0.0.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c8dced9a41f5db4e23b8a7ad93061d103b22607237c051d0c63ab8061926e8f
|
|
BLAKE2b-256 checksum How to use checksums |
4e2f1b970a3bd4687ad6e0423b90cb2300fc90b3cfafeec51499a510e3f2c3c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / collective_smartlink-2.0.0-py3-none-any.whl
| Download URL | collective_smartlink-2.0.0-py3-none-any.whl |
|---|---|
| Size | 22.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7a5e69868e93fe748e18b9c529ca8f27ec7f4b41082fb3356f296ae18b0e9ee
|
|
BLAKE2b-256 checksum How to use checksums |
febdc2b8e7d97f7a49a3ff0d019c87a1a637d9dc098a0c3902787a0ec78c2582
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for collective.smartlink 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.