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

Get A Blackberry Curve For $49 Without Hassle

Get A Blackberry Curve For $49 Without Hassle -

If you’re in the market for a new phone and the Blackberry Curve has caught your eye, don’t go walking into an AT&T store just yet. Amazon is offering the device for a cheap-as-hell $49 without any rebates whatsoever. Yup, just plug in your credit card, place an order, and you’ve got yourself a Curve for under fifty bucks.

One slight issue. If you break AT&T’s terms of service agreement in 181 days after the purchase, you get hit with a $250 fee from Amazon in addition to the normal fees AT&T will charge you. So tread carefully on this amazing deal.

Deal of the week: Amazon offering Curve for $49 [BGR]

[CrunchGear]
Read More

Thieves rob Best Buy blind

Thieves rob Best Buy blind -

Filed under:


A diabolical ring of super-thieves has been terrorizing the good people of Tulsa, OK., by conducting elaborate burglaries of stores like Best Buy and Office Depot. In their most recent exploit, the robbers cut two holes in the roof of a Best Buy, rappelled into the store, disabled the alarm system, and then stole more than 40 laptops, a number of plasma TVs and the store's safe. A local crime reporter claims they "leave behind no fingerprints, no witnesses and no surveillance tapes". They also reportedly have super-human strength, psionic powers, and can all fly at nearly supersonic speeds.

 

Read | Permalink | Email this | Comments


Office Depot Featured Gadget: Xbox 360 Platinum System Packs the power to bring games to life!

[EnGadget]
Read More

BetterAWstats 0.12 ALPHA (Default branch)

BetterAWstats 0.12 ALPHA (Default branch) - Screenshot BetterAWstats is an Web server log analysis tool that provides better statistics from the data provided by AWstats. It is not a replacement for AWstats. The most significant features are rolling months and days, and support for new types of charts (pie, max/min, etc.).
License: GNU General Public License (GPL)
Changes:
Last month daily data was fixed for the case where current has no hits. The menu sorting was fixed for vertical layout. A different format for external links is used now. Unknown browsers and OS are now interlinked with respective tables. Slashes in OS icons were fixed. All functions and globals were renamed to baw_* to make sure they work when betterawstats is included into other projects. Highlighting of current month/day was fixed. Var fixes were applied. A configuration option for inclusion in other projects was added. Datelist-creation was improved.

[FreshMeat]
Read More

Perry Ellis gives away cheapo USB flash drive

Perry Ellis gives away cheapo USB flash drive -

Filed under:


You would think that Perry Ellis, a "respectable" department store clothing maker, could afford something half-way decent to hand out to its customers -- but you would be wrong. Like many designer products, after you get through the ornate packaging and custom plastic box, it's just cheap junk from China. In this case, that cheap junk happens to be a 64MB (that's right, megabyte) USB flash drive. Of course, you'll be thanking Perry when you've got a place to store one big Photoshop file.

[Thanks, kristofer]

 

Read | Permalink | Email this | Comments


Office Depot Featured Gadget: Xbox 360 Platinum System Packs the power to bring games to life!

[EnGadget]
Read More