掲示板
AssetPublisher Template in Velocity: Getting links from tags
7年前 に Niels Ott によって更新されました。
AssetPublisher Template in Velocity: Getting links from tags
New Member 投稿: 6 参加年月日: 16/08/22 最新の投稿
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
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