Skip to main content

Controls when Plone must open links in external page (in an accessible way)

Project description

A new way to controls how Plone marks external links or open them in popup windows.

Introduction

Plone has already two feature named “Mark external links” and “External links open in new window” that make the CMS to change apprearence of external link or open them in popup windows.

However native Plone features are on-or-off: you can’t choose the criteria used for mark links or choose which ones will be opened in a new windows.

How it works

After installation go to the “Externalize links settings” in the control panel and configure your preferences.

Control panel
Links selectors

Use this section to enter a set of jQuery selector that match your links.

Mark processed links

For every processed link you can also provide additional attributes for example a new CSS class.

Plus, the title attribute of every link will be enhanced with a text that warn the user of the “popup” nature (”It will open in a new window”).

Motivations behind the product

Apart the effective usefulness of the product, this has been mainly written as example application for the use of collective.jsconfiguration.

Changelog

0.1.0 (2014-05-02)

  • Initial release

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.externalizelink-0.1.0.zip (34.3 kB view details)

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