veeara282 / instant-press

Open source CMS for the Web2Py framework
GNU General Public License v2.0
4 stars 4 forks source link

more than 6 pages not displayed in navigation menu #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create more than 6 articles as pages

What is the expected output? What do you see instead?
I would expect to see all the pages created or some indicator saying that are 
more pages that cannot been displayed, but It's only showing the first 6 pages 
at the navigation menu.

What version of the product are you using? On what operating system?
i'm using instantpress beta 6, on archlinux.

Please provide any additional information below.
maybe is just a template problem. sadly atm i can't proove it.

Original issue reported on code.google.com by web2py.n...@gmail.com on 2 Mar 2011 at 12:29

GoogleCodeExporter commented 9 years ago
Yes this expected value, because is based on POST_LIST_PER_PAGE constant. You 
can change this 
http://code.google.com/p/instant-press/source/browse/modules/articles.py#488 
line and pass

(limit_inf, limit_sup) = get_query_limits(page, 20) 

Put 20 for example

Original comment by mulone.m...@gmail.com on 2 Mar 2011 at 12:52