MODX Cloud

The Most Productive MODX Learning Playground Ever

Claim Free Lab Account

PageBreaker

Skip to end of metadata
Go to start of metadata

Description

PageBreaker is a plugin, than allows you to show big texts splitted to pages.
It is searching for special string in text (<!- splitter ->) and splitting text on it. Also included pagination and friendly urls for pages of text.

You can manually enter splitters in text or use plugin for TinyMCE for it (see below).

Splitted page must be not cacheable. Otherwise you will see the same text on changing pages.

Requirements

  • MODx Revolution 2.1 or later
  • PHP5 or later

Homepage and Demo

http://bezumkin.ru/modx/pagebreaker/

Download

It can be downloaded from within the MODx Revolution manager via Package Management, or from the MODx Extras Repository, here: http://modx.com/extras/package/pagebreaker

Usage

By default you need only to set splitters in the content of resource and disable its caching. Then plugin will do everything himself.

PageBreaker currently comes with one Plugin:

And two Chunks:

Integration with TinyMCE

When you installed pagebreaker, it is overwrite built-in TinyMCE plugin pagebreak.

You need to enable this plugin and additional buttons in in system settings.
Go to System -> System Settings, switch filter of namespaces to timymce and enter to Custom Buttons Row 3

pagebreak,pagebreakmanual,pagebreakauto,pagebreakcls

Then add in Custom Plugins

pagebreak

 

Now we have 4 new additional buttons in TinyMCE:
If you have only one button - you just need to reinstall Pagebreaker. It happends when you install TinyMCE after Pagebreaker.

What is this buttons?

On left to right: 

  • Split page on current place of cursor
  • Enter number of symbols and split text automaticly.
  • Automaticly split text for every 2000 symbols.
  • Remove all splitters on the page.
After uninstalling PageBreaker you need to reinstall TinyMCE, because plugin pagebreak will be deleted and TinyMCE may be damaged.

See Also


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.