1
ladysham
Articles with Page Breaks
  • 2004/5/8 1:58

  • ladysham

  • Quite a regular

  • Posts: 274

  • Since: 2003/11/11


I've been searching the forums and modules section for an answer to this question, but haven't found one yet.

Do any of the articles modules have page breaks? I am working on two sites that will have rather long articles and I wondered if there was a way to break the pages so they're not so long.

Thanks for any help!!

Kelly Ling

2
tl
Re: Articles with Page Breaks
  • 2004/5/8 2:04

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


news module does have pagebreak feature built in. You will find the info in article.php file

Quote:

if ( trim($bodytext) != '' ) {
$articletext = explode("[pagebreak]", $bodytext);
$story_pages = count($articletext);

...


edit: If you are using the default news module, you could simply add [pagebreak] into the article at the place(s) you want to break. If you are working on a custom module, article.php will be very helpful in figuring out. It helped me great deal in adding [pagebrak] into a custom module.

3
Catzwolf
Re: Articles with Page Breaks
  • 2004/5/8 8:48

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Quote:

ladysham wrote:
I've been searching the forums and modules section for an answer to this question, but haven't found one yet.

Do any of the articles modules have page breaks? I am working on two sites that will have rather long articles and I wondered if there was a way to break the pages so they're not so long.

Thanks for any help!!

Kelly Ling


Yes, WF-Sections has this feature.

Login

Who's Online

164 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 164


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits