InputfieldURLChecker by rolandtoth

Admin helper to add button or hotkey to URL type fields to check link.

InputfieldURLChecker module for ProcessWire

Admin helper to add button or hotkey to URL type fields to check link in ProcessWire CMS.

Features


  • enhance FieldtypeURL inputs with a button to open typed url in a new window
  • button and/or hotkey modes
  • linkify locked URL fields
  • force "http://" prefix (optional)
  • restrict module to selected templates or fields
  • compatible with the default and Reno admin themes
  • ajax-loaded tabs and fields ready

Usage


  1. Install the module. All URL type fields will automatically get a URL check button.

  2. Go to module settings and tweak options.

Screens


In action:

InputfieldURLChecker

Options:

InputfieldURLChecker options

Linkify locked field:

Linkify locked field

Options


Mode

You can choose whether to use a dedicated button or a key/click combo to open URL field contents.

The module currently supports three modes:

  • Button: adds a URL check button to the left or to the right side of the field
  • Ctrl + Shift + Click: check URL by holding down ctrl+shift and clicking on the field
  • Ctrl + Shift + Enter: check URL by holding down ctrl+shift+enter while caret is in the field

Target options

By default the link is opened in a lightbox. From version 1.01 links can be opened in an iframe that slides in from the left and clicking on its overly closes it.

Note: if the target website doesn't allow embedding from another domain then the iframe mode will fail.

Force HTTP prefix

If checked, links will always have "http://" prefix, even if the field itself doesn't contain it.

This ensures opening external links instead of relative ones.

Restrict module

Here you can set templates and/or fields where the module will be enabled. If none selected, module will be active on all templates and all URL type fields.

Note: if used, module will be disabled on all non-listed fields/templates.

Troubleshooting and feedback


Forum: https://processwire.com/talk/topic/11209-modulette-inputfieldurlchecker/

License


Licensed under the MIT license.

"InputfieldURLChecker" is provided "as-is" without warranty of any kind, express, implied or otherwise, including without limitation, any warranty of merchantability or fitness for a particular purpose. In no event shall the author of this software be held liable for data loss, damages, loss of profits or any other kind of loss while using or misusing this software.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #559
    The 559th issue of ProcessWire Weekly brings in all the latest news from the ProcessWire community. Modules, sites, and more. Read on!
    Weekly.pw / 25 January 2025
  • ProcessWire 3.0.244 new main/master version
    ProcessWire 3.0.244 is our newest main/master/stable version. It's been more than a year in the making and is packed with tons of new features, issue fixes, optimizations and more. This post covers all the details.
    Blog / 18 January 2025
  • Subscribe to weekly ProcessWire news

“Indeed, if ProcessWire can be considered as a CMS in its own right, it also offers all the advantages of a CMF (Content Management Framework). Unlike other solutions, the programmer is not forced to follow the proposed model and can integrate his/her ways of doing things.” —Guy Verville, Spiria Digital Inc.