Hi all, can the url field be used to display (link to) external urls or is it only for internal? Reason I ask is that when I use the url field in the blueprint, even with a valid url entered into the field and appearing in page txt file, the template outputs only the url of the page, not the url entered in the panel.
Relevant part of blueprint is:
fields:
url:
label: Public link
type: url
Output as per the two examples in the Kirby Docs:
<?= $page->url() ?>
Returns only the url of the page, not the entered value.
<?= $page->url()->toLink() ?>
This results in an error: Call to a member function toLink() on string.
By contrast the link field works perfectly.
I have no doubt this a mistake on my part, missing values etc, but any guidance welcome.
Thanks.