url links in display template

33 views
Skip to first unread message

Gøran L

unread,
May 13, 2024, 9:02:58 AMMay 13
to ResourceSpace
Hi

In earlier versions of ResourceSpace - specifically version 10.0, it was possible to insert links within the display template like this:


<div class="item"><h3>[title]</h3>
<a href="http://.../resourcespace/pages/search.php?search=keywords:[value]">[value]</a></div>

<div class="clearerleft"> </div>

However, this no longer seems to work in version 10.3. Links is working, but inserting the [value] within the url doesnt work.

Does anyone know if this is a bug or if this functionality has been intentionally removed?

Joseph Brooke

unread,
May 28, 2024, 11:08:39 AMMay 28
to ResourceSpace
Hi Gøran,

In recent versions of ResourceSpace if you want to include the [value] in a URL you should instead use [url]: https://www.resourcespace.com/knowledge-base/resourceadmin/advanced-configure-metadata-field

Can you please try this instead:

<div class="item"><h3>[title]</h3>
<a href="http://.../resourcespace/pages/search.php?search=keywords:[url]">[value]</a></div>

<div class="clearerleft"> </div>

Thanks

Gøran L

unread,
Jun 3, 2024, 4:18:07 AM (14 days ago) Jun 3
to ResourceSpace
Hi Joseph,

Great, thanks for the clarification.
now it works, I didn't catch that change in the knowledge base article.
Reply all
Reply to author
Forward
0 new messages