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
  • Jens Wittmann – Gestaltung & Entwicklung
  • Digital Penguin
  • eydolan
  • deJaya
  • Following Sea
  • Nick Clark
  • Lefthandmedia
  • YJ
  • Sepia River Studios
  • Murray Wood
  • Dannevang Digital
  • Richard

Budget

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

Learn more