Re: Limiting Pagination to a certain number (range) of links.

7 posts by 3 authors in: Forums > CMS Builder
Last Post: February 23, 2015   (RSS)

In response to: [url "https://www.interactivetools.com/forum/forum-posts.php?postNum=2230532#post2230532"]Limiting Pagination to a certain number (range) of links.[/url], ...

I have got this to work but my site uses filtering so is there a way to specify the page the next and previous page links go to rather than the page it is currently on.

By claire - February 18, 2015

Hi there - can you give me some more information about which pages you want to redirect to? What kind of setup are you working on right now?

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By claire - February 19, 2015

Looks like you're using JS to swap between the different site sections, so there's no actual page refresh. Is this right?

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

The site uses Javascript isotope (filtering) so unless you go to a new page then you actually stay on the one page, so yes no actual page refresh.

By claire - February 23, 2015

The standard pagination isn't going to work with this then, sorry. I'll have to refer you to consulting@interactivetools.com for a custom solution.

I've heard of Isotope but I have no experience with using it, so I don't really have any pointers here. I'll email this thread around the dev team here to see if anyone's got any ideas for you.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Dave - February 23, 2015

Basically, the way to do it is to determine exactly what you'd want the link to be in each case and then work backwards from there.

You might actually want to not use the built-in prev/next links and just make your own.  You could even just add a field for each record "next link", or generate them programmatically.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com