Pagination with multiple categories on list page

5 posts by 2 authors in: Forums > CMS Builder
Last Post: September 20, 2010   (RSS)

Re: [videopixel] Pagination with multiple categories on list page

By Jason - September 20, 2010

Hi,

What does the link look like when you select a category? You can probably pull the information in from the $_REQUEST[] variable.

If you could attach your entire .php page, I could take a closer look for you.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

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

Re: [Jason] Pagination with multiple categories on list page

Jason,

Check Your mail...


Thanks!

Re: [videopixel] Pagination with multiple categories on list page

By Jason - September 20, 2010

Hi,

If you look at the urls for the next and previous buttons, they store the category in the url string (example:Website). You can take this out of the url and put it in your number links.

<?php else: ?><a href="?category=<?php echo @$_REQUEST['category'];?>&page=<?php echo $page; ?>"><?php echo $page; ?></a>

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

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

Re: [Jason] Pagination with multiple categories on list page

THANKS Jason!!!

it's working... ;-)