mel- Posted September 20, 2010 Share Posted September 20, 2010 Hi,I want to eliminate the truncate part of pagination.tpl and show all pages.right now it shows 1 2 3 ...8I want it to show all pages like 1 2 3 4 5 6 7 8I have commented out the two lines that have truncate in them but now it just shows still the 1 2 3 Nextso it didn't show all pages just took out the truncation part ...can anyone help? thanks alot. Link to comment Share on other sites More sharing options...
DevNet Posted September 20, 2010 Share Posted September 20, 2010 Hi,Just one more correction, simply replace in your themes/[your_theme]/pagination.tpl file, at line 29 (if you haven't got remove the originales lines 25-28) : {section name=pagination start=$start loop=$stop+1 step=1} by {section name=pagination start=1 loop=$pages_nb+1 step=1} Best regards Link to comment Share on other sites More sharing options...
mel- Posted September 20, 2010 Author Share Posted September 20, 2010 devnet,thank you so much ! That worked like a charm.In case anyone was wondering why I wanted to do it - I was reading an article on SEO and it said it was best not to truncate the pages but to show them all so it will be easier for the bots to follow to the next page. seemed like a little enough thing to try. If it doesn't help, can't see how it can hurt.Thank you again Melinda Link to comment Share on other sites More sharing options...
DevNet Posted September 20, 2010 Share Posted September 20, 2010 I'm delighted for youBest regards Link to comment Share on other sites More sharing options...
Patric Posted September 22, 2010 Share Posted September 22, 2010 So I mark the topic as [solved].Please, next time, do it by yourself by adding [solved] at the beginning of your topic's title by editing your first post ! Thanks. ;-) Link to comment Share on other sites More sharing options...
Jluis Posted November 17, 2020 Share Posted November 17, 2020 hello @DevNet i need same modification for prestashop 1.7.6.1 . Any idea ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now