Actually (next and (previous are conditionals (if) that show next and previous links if they should be renderd. LIke if current page is the first one, markup inside (previous will not be renderd.
So (current( will be not the markup that should we use. If you have idea how this should work put it into http://aikiframework.org/wiki/Aiki_markup_2 because is kind of markup 2 which I put to fix OFLB issue that couldn't be fix other way. -- You received this bug notification because you are a member of Aiki Framework Developers, which is subscribed to aikiframework. https://bugs.launchpad.net/bugs/950627 Title: Custom pagination should let you show a series of page numbers Status in Aiki Framework: Confirmed Bug description: I love the custom pagination, first time I've tried it! (See http://aikiframework.org/wiki/Pagination#Custom_2) In addition to (previous( and (next( we should also add a (current( and (other( (current( should hold the markup for the current active page. (other( should hold the markup for direct links to other pages In the end you should be able to write something like: (pagination( <div class="pagination"> <ul> (previous(<li><a href="[previous]">Prev</a></li> )previous) (current( <li class="active"><a href="#">[currentpage] </a></li> )current) (other( <li><a href="[other]">[otherpage] </a></li> )other) (next( <li><a href="[next]">Next</a></li> )next) </ul> </div> )pagination) and get this output: <div class="pagination"> <ul> <li><a href="?page=1">Prev</a></li> <li><a href="?page=1">1</a></li> <li class="active"> <a href="#">2</a> </li> <li><a href="?page=3">3</a></li> <li><a href="?page=4">4</a></li> <li><a href="?page=3">Next</a></li> </ul> </div> You should be able to leave off previous and next links altogether and just use current and other. BTW, when we use the word 'active' for links, we normally mean the CURRENT link you are on, not a link that leads somewhere else. I think the built in pagination_notactive and pagination_active should be switched. Aiki uses pagination_notactive for the current page you are on. To manage notifications about this bug go to: https://bugs.launchpad.net/aikiframework/+bug/950627/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~aikiframework-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp