Article breaking if Long

Author Message

John Mina

Wednesday 12 May 2004 11:57:17 pm

Hi all
I have a case that some articles are very long more than needed actually, so i want them to be breaked up automatically according to number of lines or characters or words, or whatever. So i can view the rest in the next page.

Do any one have any idea about somethign liek this?
Sincerely ,
John

Kåre Køhler Høvik

Thursday 13 May 2004 5:23:24 am

Hi

Here's a short description on how to solve it.
http://ez.no/community/forum/general/need_multipage_article_howto/re_need_multipage_article_howto__3

--
Kåre Høvik

Kåre Høvik

John Mina

Thursday 13 May 2004 7:02:24 am

Hi Than ks
but as far as i understood from this link that it will deal with a new calss that is built to have mroe than part for the same article

am i orrect?

wht i am searching for is a piece of code that is able to deal with the default article class that is sent to me with EZ publish

I have only Title, one Intro and one Body, btu i want to split this body if it is longer tha n30 lines or 400 word for examle.
am i clear?

Sincerely
JOhn

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 05:27:36
Script start
Timing: Jan 31 2025 05:27:36
Module start 'layout'
Timing: Jan 31 2025 05:27:36
Module start 'content'
Timing: Jan 31 2025 05:27:36
Module end 'content'
Timing: Jan 31 2025 05:27:36
Script end

Main resources:

Total runtime0.0229 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.1328151.2109
Module start 'layout' 0.00760.0044 739.343836.6484
Module start 'content' 0.01200.0092 775.992290.1406
Module end 'content' 0.02120.0016 866.132829.9922
Script end 0.0228  896.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.7342140.0002
Check MTime0.00125.3189140.0001
Mysql Total
Database connection0.00094.143310.0009
Mysqli_queries0.004419.110230.0015
Looping result0.00000.113710.0000
Template Total0.00115.010.0011
Template load0.00093.959710.0009
Template processing0.00021.002510.0002
Override
Cache load0.00062.660010.0006
General
dbfile0.003917.238880.0005
String conversion0.00000.039640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs