Message Boards
Asset publisher configuration Liferay 7.1
Alberto Imaginanet, modified 3 Years ago.
Asset publisher configuration Liferay 7.1
New Member Posts: 12 Join Date: 2/14/20 Recent Posts
Hi! I need to create a page with news using asset publisher. But I don't want to show first 9 news. How I can do it?
Christoph Rabel, modified 3 Years ago.
RE: Asset publisher configuration Liferay 7.1
Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
The easiest way to do this is to skip them in freemarker in the loop. Something like (untested!):
https://freemarker.apache.org/docs/ref_directive_list.html
<#list entries as entry>
<#if entry?counter < 9>
<#continue>
<!--#if-->
...
<!--#list-->
https://freemarker.apache.org/docs/ref_directive_list.html
Alberto Imaginanet, modified 3 Years ago.
RE: Asset publisher configuration Liferay 7.1
New Member Posts: 12 Join Date: 2/14/20 Recent Posts
Thank you!!!