serendipity_fetchPrintEntries and pagination

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
mattsches
Regular
Posts: 440
Joined: Sat Nov 05, 2005 9:35 pm
Location: Wiesbaden, Germany
Contact:

serendipity_fetchPrintEntries and pagination

Post by mattsches »

Hi, I have a static page (/all_articles.html) where in simply output my entries with

Code: Select all

{serendipity_fetchPrintEntries noSticky=true}
Problem is, the pagination isn't working. The link in the pagination is /all_articles/P2.html which seems to be wrong somehow. Haven't been able to figure out what's wrong or how to fix this: either add a RewriteRule to .htaccess, or change the link, or add a parameter to serendipity_fetchPrintEntries?

Any help appreciated
- Mattsches
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_fetchPrintEntries and pagination

Post by garvinhicking »

Hi!

That's more problematic...the pagination variables are usually evaluated within the index.php file, but this only applies for "archives" views, not for staticpages.

I must admit I don't know a good solution to this from the top of my head right now.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply