Foren

AssetPublisher Template in Velocity: Getting links from tags

Niels Ott, geändert vor 7 Jahren.

AssetPublisher Template in Velocity: Getting links from tags

New Member Beiträge: 6 Beitrittsdatum: 22.08.16 Neueste Beiträge
Hi there,

I develop application display templates in Velocity, mostly for the AssetPublisher. So far I got along quite well. In one template, I managed to display all the tags assigned to each asset entry. Fine, so far. But: when not using a template, I can click these tags and get directed to a modified URL that makes the AssetPublisher show only the entries assigned with the tag I clicked on.

Now I want to write code that does the same for my own templates. However, I do not know how I can get the right URL automatically.

(I could perhaps create the URL manually but I don't think this is the way I am supposed to do this. I might, e.g., loose pagination by doing so.)

Any hints are welcome.

Best
Scotty