Search code examples
velocitybloggerapache-rollerweblog

Iterate through every entry or posts in apache roller weblog


I am creating a blog using apache roller 5.xx version

I am able to design templates with default macros but I don't know how to write custom programs to it. I am fighting with this pager thing for almost 2 days with no solution now

Can anybody assist me to iterate through the entries obtained in pager using below codes.

   #set($pager = $model.getWeblogEntriesPager()) 
   #showWeblogEntriesPager($pager)

I want don't want to show entries using #showWeblogEntriesPager($pager) macro.


Solution

  • Did you look at the internal implementation of #showWeblogEntriesPager and confirm it was not something you could leverage?