PageBreaker
Last updated Dec 9th, 2019 | Page history | Improve this page | Report an issue
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
Budget
$290 per month—let's make that $500!
Learn moreDescription¶
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¶
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
Budget
$290 per month—let's make that $500!
Learn more