MODX EXTRA

getPage

Creator: Jason Coward (opengeek)

1.2.3-pl (21 KB) Other Versions

About getPage

A generic wrapper snippet for MODX Revolution 2.1+. getPage will returning paged results and navigation from snippets that return limitable collections, and optionally cache the results of unique page requests.

The release introduces the ability to specify a scheme for generating the page navigation links, removes the pageVarKey from the REQUEST parameters when page = 1, and fixes caching when multi-dimensional arrays are passed through a request.

Information

Released
June 20, 2012
Supported Versions
2.1 – Current
Supported Database
MySQL, Microsoft SQL Server
Downloads
136,460
License
GPLv2

New in getPage 1.2.3

getPage 1.2.3-pl (June 20, 2012)

  • [#15] Add ability to specify pageNavScheme for navigation links
  • [#14] Avoid adding pageVarKey to query string when page = 1
  • [#12] Fix cacheKey when multi-dimensional arrays used in $REQUEST

getPage 1.2.2-pl (December 9, 2011)

  • Check $GET before $REQUEST for pageVarKey and limit overrides
  • [#6] Add pageOneLimit to allow different limit on first results page

getPage 1.2.1-pl (September 15, 2011)

  • Remove inadvertent debugging statement in snippet code

getPage 1.2.0-pl (September 14, 2011)

  • [#5] Add pageNavOuterTpl for layout control of page nav elements
  • Allow limit of 0 in $REQUEST to bypass paging
  • Allow empty nav tpl parameters
  • Allow unlimited page listing with &pageLimit=0

More

Current Releases

1.2.4-pl
March 24, 2014
2.1 – Current
More
View Deprecated Releases

More from Jason Coward

ge

getResources

A general purpose Resource listing and summarization snippet.

QC

QuickCrumbs

A quick and efficient bread crumbs Snippet for MODx Revolution that…

mo

modCipher

A MODx Revolution Core Extension, the modCipher service class provides…

FC

FirstChildRedirect

Redirects a page to its first published child resource.