Search

I am really confused about pagination. If I have an archive page, and I want to display 20 articles per page, but I have more than 20 articles, how do I have links to next page and previous page at the bottom?

You have do to two things:

  1. Set up your archive page with an URL parameter for pagination, e. g. page which will be present in the XML source as $page and should be set via the URL: yoursite.com/archive/2
  2. Change your DataSource to output just 20 entries, to include pagination and to filter by $page (Show page __ of results).

With this setting you should be able to create a paginated archive.

And this might help too.

The link above has moved here.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details