Jump to main content Jump to doc navigation

Description

Plugin have two modes of work.

  • OnLoadWebDocument - searching for strings in content, splits text on pages and generating pagination using chunk tpl.PageBreaker.navigation
  • OnPageNotFound - searching resource by generated url of page and loads it.

Properties

  • pb_ajax - enable changing pages trought ajax? By default: no. See chunk tpl.PageBreaker.ajax
  • pb_load_jquery - need to include jquery library? By default: no.

I do not recommend to enable ajax mode in due to decreasing count of pages hits and worse indexing this pages by crawlers. Also it is complicate users to bookmark reading page.

See Also

  1. PageBreaker.PageBreaker
  2. tpl.PageBreaker.ajax
  3. tpl.PageBreaker.navigation

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Digital Penguin
  • Dannevang Digital
  • Sepia River Studios
  • CrewMark
  • Chris Fickling
  • deJaya
  • Following Sea
  • Anton Tarasov
  • eydolan
  • Raffy
  • Lefthandmedia
  • Murray Wood
  • Snow Creative
  • Nick Clark
  • Helen
  • JT Skaggs
  • krisznet
  • YJ
  • Yanni
  • Richard

Budget

$366 per month—let's make that $500!

Learn more