Change display order of related assets in webcontent displayChange display order of related assets in webcontent displayhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1207412132024-03-29T06:21:54Z2024-03-29T06:21:54ZRE: Change display order of related assets in webcontent displayOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1207397262021-04-23T07:35:20Z2021-04-23T07:35:20Z<p>You can find the Basic Web Content Template in the global scope (use
the scope selection compass and "My Sites" as administrator
to get there). However, it won't help solving your problem: I'll copy
it here:</p>
<pre><code class="language-java">${content.getData()}</code></pre>
<p>E.g. "related content" is rendered elsewhere.</p>
<p>In my experience it's rendered in order of creation of the
relationship, but from the top of my head I can't tell you where. You
might want to grep the source code for "related" and see if
you can find the needle in the haystack. Worst solution would be to
remove the relationships and recreate them in the desired order
through the API. Unless you want different orders in different places.</p>Olaf Kock2021-04-23T07:35:20ZChange display order of related assets in webcontent displayJürgen Untchhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1207412122021-04-22T15:26:52Z2021-04-22T15:26:52Z<p>I have a requirement to change the display order of related assets in
a webcontent display. It seems this feature is still missing in
Liferay 7.2+</p>
<p> </p>
<p>Where can I inspect the Basic Web Content Freemarker Template (best
would be a github link) to understand the logic behind the display
order of