** Changed in: aikiframework Milestone: 0.9.1 => 0.9.3 ** Changed in: aikiframework Assignee: rg1024 (rg1024) => (unassigned)
-- 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