That solution is for navigation links that have parameter pagenumber in href and will not work for you in prettyurl mode as your links are .../Listing/PAGE_NUMBER/page.
If you can modify php file then you don't need this solution and if not - you need modify it to work in your case.
vilkis
HOWTO: Proper news pagination (with page numbers!)
Re: HOWTO: Proper news pagination (with page numbers!)
I see.
Thank you.
Thank you.
Re: HOWTO: Proper news pagination (with page numbers!)
I might just be an idiot but where in the world does the code that's supposed to go in a Content Page go!?
I have tried entering it into the Content field in a Page and in the actual HTML template.
There must be somewhere else? Or maybe some code to tell the template that php is being used?
Thank you!
I have tried entering it into the Content field in a Page and in the actual HTML template.
There must be somewhere else? Or maybe some code to tell the template that php is being used?
Thank you!
Re: HOWTO: Proper news pagination (with page numbers!)
It is for News module, so has to be inserted into news summary template.
vilkis
vilkis
Re: HOWTO: Proper news pagination (with page numbers!)
Nevermind, works!vilkis wrote:It is for News module, so has to be inserted into news summary template.
vilkis
Last edited by NicoCollu on Wed Oct 17, 2012 5:39 pm, edited 1 time in total.
Re: HOWTO: Proper news pagination (with page numbers!)
Thanks a lot for sharing!
Helped me out a lot! Just had to change a few very small things to fit my CSS style and then it was perfect!
Helped me out a lot! Just had to change a few very small things to fit my CSS style and then it was perfect!
Re: HOWTO: Proper news pagination (with page numbers!)
Hello,
I have a problem with paging module news. Exchange with the French forum (hence my very bad English is google translated that for me). They told me to come right here to describe my worries.
Graphically my pagination looks like this when you are on page 1: 1 2 >>
the URL of the next page ie "2" is not properly taken into account instead of me show me the URL that displays <em> following </ em> /
When I have other pages eg 3 or more pages and that I am the first and I want to go directly to the 3 by clicking the number, it sends me to page 2 and vice versa when I on page 3 and I want to return to the one, I am required to go to page 2.
The trouble is it does not take into account the number of pages to be able to move from page 1 to 3 or vice versa.
Excuse me for my English and still hoping for a little help.
thank you
I have a problem with paging module news. Exchange with the French forum (hence my very bad English is google translated that for me). They told me to come right here to describe my worries.
Graphically my pagination looks like this when you are on page 1: 1 2 >>
the URL of the next page ie "2" is not properly taken into account instead of me show me the URL that displays <em> following </ em> /
When I have other pages eg 3 or more pages and that I am the first and I want to go directly to the 3 by clicking the number, it sends me to page 2 and vice versa when I on page 3 and I want to return to the one, I am required to go to page 2.
The trouble is it does not take into account the number of pages to be able to move from page 1 to 3 or vice versa.
Excuse me for my English and still hoping for a little help.
thank you
Re: HOWTO: Proper news pagination (with page numbers!)
I honestly can't follow what you're trying to accomplish. Here is an example of how the pagination posted here works:
http://dropsoul.com/test-summary.html
I can click on 2 when I'm not on 2
http://dropsoul.com/test-summary.html
I can click on 2 when I'm not on 2