Download the PHP package axllent/silverstripe-links-to-blank without Composer
On this page you can find all versions of the php package axllent/silverstripe-links-to-blank. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download axllent/silverstripe-links-to-blank
More information about axllent/silverstripe-links-to-blank
Files in axllent/silverstripe-links-to-blank
Download axllent/silverstripe-links-to-blank
More information about axllent/silverstripe-links-to-blank
Files in axllent/silverstripe-links-to-blank
Vendor axllent
Package silverstripe-links-to-blank
Short Description Extension to add add target="_blank" to all outgoing links & downloads
License MIT
Homepage https://github.com/axllent/silverstripe-links-to-blank
Package silverstripe-links-to-blank
Short Description Extension to add add target="_blank" to all outgoing links & downloads
License MIT
Homepage https://github.com/axllent/silverstripe-links-to-blank
Keywords silverstripelinks
Please rate this library. Is it a good library?
Informations about the package silverstripe-links-to-blank
Automatically set target="_blank"
for outgoing & file links in Silverstripe
This module enhances your HTML output by automatically adding target="_blank"
to all outgoing links and internal "download links" (e.g., PDF, ZIP, TAR, DOC, PPT, and Excel files).
Earlier versions of this module used JavaScript for similar functionality, but that approach caused compatibility issues with tools like the Wayback Machine.
Features
- Automatically adds
target="_blank"
to outgoing and internal file links. - Includes
rel="noopener"
to outgoing links to prevent cross-site exploits. - Optionally adds
rel="nofollow"
andrel="noreferrer"
to outgoing links. - Allows adding custom CSS classes to file and external links for styling.
- Supports adding additional file extensions for custom file types.
Requirements
- Silverstripe ^4 || ^5 || ^6
Installation
After installation ensure you have done a ?flush
. No further configuration is required.
Usage
To customise the module, you can define your own configuration:
All versions of silverstripe-links-to-blank with dependencies
PHP Build Version
Package Version
The package axllent/silverstripe-links-to-blank contains the following files
Loading the files please wait ....