Hi everyone
So, there is one requirement in which we have to show the top N number of destinations in the carousel and whenever a new destination is added to the top category it should automatically come on that carousel. How can we achieve that?
Solved! Go to Solution.
Views
Replies
Total Likes
Add a custom property in dialog for example ranking and set the value as per your need.
And from that value you can decide which image need to be shown first in carousel.
Hi,
In java (sling model) you can use Collections.reverse after adding the carousel item nodes to collection which will display the last node on top
by just simply adding a tag to it. the main problem I have is how to iterate image and link in the carousel.
Add a custom property in dialog for example ranking and set the value as per your need.
And from that value you can decide which image need to be shown first in carousel.
Views
Likes
Replies
Views
Like
Replies