Search

What is the best way to grab the total number of entries for each section? I'm dealing with sections with hundreds to up to tens of thousands of entries, so creating a datasource for its pagination hangs terribly.

The way you do is like a DS with only System Pagination field and one result?

<pagination total-entries="3910" total-pages="3910" entries-per-page="1" current-page="1" />

Of course! I'm an idiot, I was telling it not to limit the number of entries instead. (I should probably stop trying to think after being up for more than a day.)

Thank you.

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