0

I'm new to pagination, but not EE so much. I'm working on a site where the front page is basically short news items, preceded by one "featured" item. I'm limiting to 10 news items per page, so I'm using "paginate_base" to indicate that for the following pages, I want a different template to be called (first page is "news" with the "featured" item, and following pages are on the template "continued," without the "featured" item).

It's working fine moving into old entries. But when I want to go back, I want the link for the "first" page to go back to the original "news" template, rather than the "continued" template. To try to be more clear, to go back to the template that has the "featured" item, whereas currently "first" takes me back to the "continued" template with the first news items.

Not sure if I'm explaining this clearly; but any thoughts on if I'm approaching this correctly would be appreciated!

2

You might take a look at AB Pagination add-on that would give you much more control over how it's output, as well as pointing back to your original template page for the first page link.

-1

AB Pagination was a bit more than I needed, so I wound up just adding an artificial "home" button on the pagination for the "continued" pages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.