Forum Discussion
mahesh_revanwar - You need this:
<#assign itemPerPage = settings.name.get("layout.messages_per_page_linear")?number!10 />
!10 defaults it to 10 if nothing is set. Hope this helps.
Related Content
- 12 years ago
- 11 years ago
Hi,
I need context object for getting the value of topics per page.
User settings => Preferences => Linear Layout => Topics Per Page
Thanks & Regards,
Mahesh Revanwar
mahesh_revanwar - You need this:
<#assign itemPerPage = settings.name.get("layout.messages_per_page_linear")?number!10 />
!10 defaults it to 10 if nothing is set. Hope this helps.
mahesh_revanwar - You need this:
<#assign itemPerPage = settings.name.get("layout.messages_per_page_linear")?number!10 />
!10 defaults it to 10 if nothing is set. Hope this helps.