Pagination instead of 'View more'
Hi,
Recently the awesome design team of Khoros delivered our new communities. Now I am trying to getting to find my may around all the custom stuff.
In this case I want to enable pagination instead of a 'view more' button below the comments in a thread. (This actually was included in the design specs we delivered, so in theory we could raise a ticket to get it fixed. However I need to understand the mechanics of it first).
For instance on our blog pages we do have pagination:
https://community.ziggo.nl/t5/Tips-van-Ziggo/Ziggo-verbetert-de-programma-informatie-in-de-TV-Gids/ba-p/727466
On our forum page we do not (instead an orange button 'Meer reacties laden'):
https://community.ziggo.nl/t5/De-Community/Feedback-over-de-nieuwe-Community-deel-je-hier/td-p/720745
I cannot find a setting in Admin or Atudio. Searching around here on Atlas I get the impression pagination cannot be set. So I dug around the forum page, and components XML a bit.
In Forum Topic Page there is a component message-list-detail-with-inline-editors which I think is the default one containing replies and the pagination section. This component cannot be edited.
In Forum Page (this seems to be the board page? confusing terminology) there is a component custom.message-list. This component can be edited, i can see this inside the component:
<#-- pagination -->
<#if showPaging == "true">
<#assign pagingQry = basePagingQry + whereClause />
<#assign topicCnt = commonUtils.executeLiQLQuery(pagingQry, true) />
<#assign pageableItem = webuisupport.paging.pageableItem.setCurrentPageNumber(pageNum).setItemsPerPage(pageSize?number).setTotalItems(topicCnt).setPagingMode("enumerated").build />
<@component id="common.widget.pager" pageableItem=pageableItem />
</#if>
<#--/pagination -->
This suggests there is a global pagination setting. Now I am lost.
Please help with the next step to get pagination om my forum pages.
Hoekstra_VFZ You can try adding <component id="common.widget.pager"/> in the XML view of forum topic page and then hiding the existing "Load More" button with CSS. This would work.
If you appreciate my efforts, please give me a kudo ↓
Accept as solution to help others find it faster.