Forum Discussion

mahesh_revanwar's avatar
10 years ago

Context object: Messages count per page linear view

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.