Get absolute URL of resource when using input type link

I would like to get the full URL of a resource, like when using the scheme full argument, when using the link.

[[~ID? &scheme=`full`]]

I tried to simply adapt the linkinput.class.php but this is a bad approach because this will be removed in the next update. Also it does not work for settings, only cbFields of type link.

Is there a fix for this?

Have you tried setting the scheme in the system settings? link_tag_scheme should do the trick.

awesome, thanks!

This did the trick :slight_smile:

1 Like