Router
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Isaac Raway
CLOSED: Pagination fun!
General
T2theC
|
Posted: 27 September 2013 11:49 AM |
|
|
|
Hi ya Isaac,
This should be the last question… I hope!
How do you deal with pagination? With the following set up routes are a little mixed up due to segment 3 being Px.
Is there a way for router to ignore pagination?
# news section ^news/*$ = "site/_article-listings" ^news/archive/(?P<year>\d+)/(?P<month>\d+)/*$ = "site/_article-listings" ^news/(?P<cat1>.+)/(?P<url_title>.+)/*$ = "site/_article-standard" ^news/(?P<cat1>.+)/*$ = "site/_article-listings"
Cheers dude
EDIT: I stll haven’t found a fix for the pagination, but I have set up pagination with AJAX so that it doesn’t conflict. Great git of code here if anyone is interested: https://github.com/reusserdesign/ExpressionEngine-Ajax-Pagination
|
|
|