Is there some way to only show the next few and previous few links? I thought this is what the 'max_pages' attribute in the v:collection tag was for.
If I have 32 pages in a paginated collection, I want it to show something like this
http://cl.ly/2Z2t0N1H1g1l2a1v322H
Hey Michael,
I added a new 'max_to_show' option for you. I also beefed up the docs to include info on it:
http://docs.vaeplatform.com/v_pagination
Let me know if that works for you.
This is a great start, there are two bugs:
1. When on page 1, the pagination shows links for page -1 and page 0.
2. The pagination is not going past the 'max_to_show' paramater. See screenshot
http://cl.ly/2v3e3w250k2H0t2R1Q0y
The collection code%v:collection{:path => "products", :paginate => "12", :id => "items", :previous => 'previous', :next => 'next'}
Pagination code%v:pagination{:collection => "items", :max_to_show => "5"}
I also have the "Use the query string for pagination" box checked under Site Optimization tab.
It looks like you're new here. If you want to get involved, click one of these buttons!