Content last modified Monday 6 March 2017
hop to #bottom
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!


Created a little plugin that lets you split articles into multiple pages.

Note: this will probably keep your pages from validating unless you don’t use textile. I have a version that keeps the validation, but it requires changes to publish.php, but am reluctant to release it because I’m not all that positive my changes didn’t break anything.

This plugin creates two tags: <txp:hfw_pg_body /> and <txp:hfw_pg_pages />. If you wish to seperate pages with a seperator other than [page], you will need to edit the plugin where it reads $pageSep or pass a pageSep attribute when using the tags.

<txp:hfw_pg_body />: Use this tag wherever you would normally have used <txp:body />. Accepts no attributes aside from $pageSep

<txp:hfw_pg_pages />: Displays a control that allows readers to jump from page to page. Accepts attributes always, prev and next. Always can be either true or false (defaulting to false), and controls whether the pagination links will be printed even if there is only one page being used. The prev and next attributes are the text for the links to the previous and next pages.

There is also a new plugin to paginate articles called etz_pg that forked off of this plugin.

Article Request Count:

Archived [?]: orphaned: broken links

Initially released:
Posted here:
18 Feb 2005
Article modified:
14 Jul 2008

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.




There are also tag clouds, 'cause those are fun.
Published with Textpattern