Skip to content

InputfieldURLChecker

Roland Toth Pal edited this page Oct 28, 2019 · 2 revisions

Add button or hotkey to FieldtypeURL to check URL

Enhance URL fields with a button to check typed url. It can open the URL in a new window, panel or modal. Comes with hotkey modes too.

  • Mode: button and/or hotkey modes. The button mode has an additional setting to place it in the left or right side of the field.
  • Open URL in...: URLs can be opened in a new tab (default), or in a modal. Note: modal mode will fail if the target website doesn't allow embedding.
  • 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. However, if the URL starts with "/" then it is treated as an internal URL and no prefix will be prepended.
  • Enabled templates and Enabled fields: 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, the module will be disabled on all non-listed fields/templates.

Note: for button modes you can use the middle mouse button to open the URL in a new browser tab.

Test link button added to an URL field:

InputfieldURLChecker

Clone this wiki locally