verbb / hyper

A Craft CMS plugin for managing links, focusing on user experience.
Other
22 stars 14 forks source link

Creating Asset-Links programatically #137

Closed SimonSoutas closed 5 months ago

SimonSoutas commented 5 months ago

Question

I tried to do it the same way as in the docs for entries (it works for entries obviously).

But when it saves, it just creates a url link and puts the ID of the asset in there.

So how can you create Asset Links programatically then?

Thanks in advance :)

Additional context

No response

engram-design commented 5 months ago

Fixed for the next release. To get this early run composer require verbb/hyper:"dev-craft-4 as 1.1.27"