Break a Drupal article/node/blog into separate pages using the Paging Module

If you have ever created a blog, node, page within Drupal that is far too long to be on one page. Or if you’d rather have an article split into two pages, then the Drupal Paging module is what you need.

If you have ever created a blog, node, page within Drupal that is far too long to be on one page. Or if you’d rather have an article split into two pages, then the Drupal Paging module is what you need.

Break long pages into smaller ones by means of a “page” tag:

first page here.

second page here.

This module was originally by Marco Scutari, but he claimed not to have time to submit it as a module, so I’ve put this up for him and will work on bug requests for it as time permits.

Then I took a look at it and realized he wasn’t using Drupal’s built-in pager and I saw a couple other ways to clean up the code, so I did that for the 4.7 version.
Installation:

* Enable paging for the content types you want to use it on, in the paging configuration. (?q=admin/settings/paging). This step is for Drupal 5.x version of module only.
* Then enable the paging filter for the relevant input format, in Input Formats configuration. (usually filtered html; ?q=admin/settings/filters/1).

View the module project on drupal.org


Did you like this article?


0 Shares:
You May Also Like

AMA to Vote on Whether or Not Video Game/Internet Addiction is a Real Medical Condition. What about blogging?

I actually thought I was addicted to Video Games, but then I woke up one morning and started to install Drupal. Now my addiction has moved to playing around with Drupal and Blogging. :(
AMA to Vote on Whether or Not Video Game/Internet Addiction is a Real Medical Condition -

amaaddiction.jpg

The American Medical Association is taking steps to classify Internet and video game addiction as an actual medical condition. A vote is scheduled next week where members will decide whether or not to officially apply the “addiction” label. Bah, addictions are good for people. They help build character, at least the fun ones do.

In all seriousness, how many stories have we seen about some guy essentially giving up his real life to exclusively live a Second Life or to level up his Blood Elf until he passes out? Sure, this article points out that public scares like “they’re listening to too much rock music” or “rap encourages and celebrates the thug lifestyle” are common in American history, but video game and Internet addiction certainly seems to exist, at least anecdotally.

AMA to vote on “internet/video-game addiction” as medical condition [South Florida Sun-Sentinel via Drudge]

[CrunchGear]
Read More

Intel’s Dual-Processor Enthusiast Platform Q1 2008

Would you pay for a Dual Quad Core gaming system, that also has support for 4 way SLI multi-GPU configuration? Well, if you would, then its almost near with the new platform from Intel called Skulltrail. Specifically for gaming, its also possible that this rig could used for other applications. I'm sure Intel will be releasing a server/enterprise version shortly after.
Read More

FBI Seeks To Restrict University Student Freedoms

FBI Seeks To Restrict University Student Freedoms - amigoro writes with a link to the Press Escape blog, which is discussing new guidelines suggest by the FBI for university administrations. The Federal Bureau, worried about the possibility of international espionage via our centers of learning, now sees the need to restrict the freedoms of university students for national security. "FBI is offering to brief faculty, students and staff on what it calls 'espionage indicators' aimed at identifying foreign agents. Unexplained affluence, failing to report overseas travel, showing unusual interest in information outside the job scope, keeping unusual work hours, unreported contacts with foreign nationals, unreported contact with foreign government, military, or intelligence officials, attempting to gain new accesses without the need to know, and unexplained absences are all considered potential espionage indicators."

Read more of this story at Slashdot.

[Slasdot]
Read More

Linksys WRT54G and WRT54GL Being Phased Out?

I went to pick up a Wireless Router from a local computer shop http://www.a-power.com in hopes of grabbing a WRT54GL or at least a WRT54GS. The main reason being that I could flash the hardware to run DD-WRT http://www.dd-wrt.com which is a third part open source router firmware.
Read More