Ivan Zugec

Drupal Consultant

Separate nodes into pages with paging module

The paging module gives you the ability to separate the text within the node body field into pages using the

tag within the text.

To install this module just go to Administer >> Site building >> Modules and enable the module.

paging_fig1.jpg

The first thing we have to do is enable the paging filter on an input format. Go to Site configuration >> Input formats. In this example, click on configure for the Filtered HTML.

paging_fig2.jpg

When you are in the settings page scroll down to the Filters field set and tick the Paging checkbox.

paging_fig3.jpg

The final thing we have to do is go to Site configuration >> Paging and select which node type you want the paging tag to be enabled on, in this example I'll tick the Page checkbox.

paging_fig4.jpg

Now it's time to test it out, go to Create content >> Page and create a page node and then add

between the text.

paging_fig5.jpg

Now check out your node page, you should see a pager at the bottom before the comments.

paging_fig6.jpg

There you go now we have a way of separating a node into separate pages. If you have any questions just leave a comment.

About the author: Ivan Zugec
Ivan Zugec's picture

Ivan is a Sydney Australia based Drupal Developer with over 5 years experience.

Follow:

Comments

Anonymous's picture

Submitted by Anonymous on

Have you tried using this with the Book node type. I can see where this would be REALLY useful, if each chapter in a book (with the chapter TITLES) could be sub-divided into pages!

Anonymous's picture

Submitted by Anonymous on

Paging works very well with the Book content type.

manuee's picture

Submitted by manuee on

Thanks for the article, nice, clear and useful!
This is something that new comers often ask about, good to see there are excellent options out there.

gucci's picture

Submitted by gucci on

Have you tried using this with the Book node type. I can see where this would be REALLY useful

Adam's picture

Submitted by Adam on

I prefer the pagination module instead, purely due to the fact that it allows a table of contents to be displayed based on the pages. So, you can jump straight to whatever page you need, without having to serially go through all pages to get to, for example, the last page.

If the paging module had I similar function, I would probably change to using it instead, as it seems (other than the toc), slightly more feature rich.

Add new comment