What's New Component | Community
Skip to main content
March 25, 2016
Solved

What's New Component

  • March 25, 2016
  • 2 replies
  • 654 views

How to add configurations to get the author that how many pages he want to display on what's New, and also should get the most recent activated child class on top of the page.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hemant_arora

Create a custom component

Create a dialog and add a number field to dialog for entering the number of pages

Also add a pathfield to select a parent folder under which you keep the new pages

IN your jsp or html write logic like read the last replicated on property of the pages and  sort them in asc/desc order, the way you want

2 replies

Hemant_arora
Hemant_aroraAccepted solution
New Participant
March 26, 2016

Create a custom component

Create a dialog and add a number field to dialog for entering the number of pages

Also add a pathfield to select a parent folder under which you keep the new pages

IN your jsp or html write logic like read the last replicated on property of the pages and  sort them in asc/desc order, the way you want

Lokesh_Shivalingaiah
New Participant
March 25, 2016

I believe What's New is a custom component, so it depends on what are the inputs you are taking from the author.

To display the recent activated child, you need to do the customization