Feature Request: add a Custom
linktype to the Link field
#16850
-
Following the instructions on the Craft 5 Link field docs, I added a custom Link Type with EVENT_REGISTER_LINK_TYPES and it's working, but I kindof want to explain what I needed and nerdsnipe Pixel & Tonic into adding it. Why: we're migrating a lot of fields on a lot of sites from Typed Link Field to Craft's Link field and both Typed Link Field and Hyper have a Please consider adding a linktype For additional reference, see this conversation about migration from Typed Link Field to Craft Link field which includes community migration scripts that (necessarily) omit What I've done in my custom module:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
For the We could also loosen up “URL” validation, to allow for arbitrary URL schemes. |
Beta Was this translation helpful? Give feedback.
Added both a new “SMS” link type and an “Allow custom URL schemes” setting, for 5.7 (51d1808).