<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Templating Asset Publisher with Group By</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111454160" />
  <subtitle>Templating Asset Publisher with Group By</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111454160</id>
  <updated>2026-04-07T07:59:56Z</updated>
  <dc:date>2026-04-07T07:59:56Z</dc:date>
  <entry>
    <title>Templating Asset Publisher with Group By</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111454159" />
    <author>
      <name>Fernando Fernandez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111454159</id>
    <updated>2018-11-05T16:40:07Z</updated>
    <published>2018-11-05T16:40:07Z</published>
    <summary type="html">&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;On Liferay 7.0 CE, I'm creating an ADT for Asset Publisher where the
  resulting entries list is grouped-by category.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;My ADT is called for each group of entries and is working OK.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;My problem is  that I am not able to template the group titles that
  come between each group (an &amp;lt;h3 class=&amp;quot;asset-entries-group-label&amp;quot;&amp;gt;).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Is there any chance I can make  an ADT for the whole stuff? I mean, a
  template where I can also format the grouping of the  assets?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Fernando&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Attached: screenshot showing the ADT generated code (blue) and the
  out-of-adt generated code (yellow)&lt;/p&gt;</summary>
    <dc:creator>Fernando Fernandez</dc:creator>
    <dc:date>2018-11-05T16:40:07Z</dc:date>
  </entry>
</feed>
