Update External Links
Update External Links module update the external URLs present in the body content and change them to be opened in the new tab.
This works differently than External New Tab and External Links modules. Both these module uses jQuery to open link in new tab, and script runs every time node is loaded.
In my module, I am using DOMDocument() and adding the target="_ blank" attribute to each external URL. After this node is saved again. So, in this way my module run only once to update external links, unlike External New Tab and External Links, where script is loaded each time.
This is more useful for migration perspective for Drupal 7.
Installation
- Copy the whole "update external links" directory to your modules
- Enable the module.
- Select required options in the form to suit your needs.
Features
- Can updates the external links present in the node body content and change them to be opened in the new tab.
Documentation
README.txt
For everyone
Goal
- Update the external URLs present in the node body content and change them to be opened in the new tab
Attachment | Size |
---|---|
README.txt | 848 bytes |
Project information
- Module categories: Content Editing Experience
- 47 sites report using this module
- Created by jain_deepak on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.