Forums / General / Multipage article ...

Multipage article ...

Author Message

Marvix Marx

Wednesday 10 January 2007 5:38:05 am

Hi ..

look to this "Article Index" here :
http://ez.no/community/articles/build_a_webdav_enabled_intranet_with_ez_publish

How its done ?

is this the right way :

http://ez.no/ezpublish/documentation/customization/tips_tricks/splitting_an_article_over_several_pages

but some at the comment saying "This method of pagination is no longer valid as you can not have articles as child nodes of artciles." use http://www.ez.no/ez_publish/docum...stomization/custom_design/pagination

Is that right ?!

Thanks in advanced.

/dev/null

Wednesday 10 January 2007 6:45:53 am

There is a comment near the top of the second link in the last post saying ...

> "Working in 3.5 or later- allowing a child of the article class by Mark Marsiglio on Saturday 03 December 2005 1:39:37 pm"
> "If you have trouble assigning children to the article class, you may also need to modify the article class to make it a container."

Have you made your article class a container?

hth,
<i>/dev/null</i>

eZpedia community documentation project: http://ezpedia.org

Marvix Marx

Wednesday 10 January 2007 11:20:23 am

I see ...

But any way to break the article by custom tag ?

In wordpress there tag called <!--nextpage--> which split the article ...

/dev/null

Wednesday 10 January 2007 11:56:42 am

Right, but not even wordpress provides for multi page separation from a single content entry.

Only a separator which allows you to control the display of content in the the list views vs the article display.

You could provide the functionality but (to my knowledge) not in the exact same way.

You could simple break the intro and blog contents fields apart and modify your templates to use the right one as needed.

Or you if you really need many pages, you will want to publish each page separately as pages of an article. If you want a faster method of input, work with inside eZ or extended by kernel hacking. It is possible but not recommended ... ...

<i>/dev/null

Fall Out Boy - This ain't a scene it's `an` arms race ...</i>

eZpedia community documentation project: http://ezpedia.org

Marvix Marx

Thursday 11 January 2007 12:35:32 am

I see .. then I think this the best way to do it ..
http://ez.no/ezpublish/documentat...itting_an_article_over_several_pages

eZ debug

Timing: Jan 18 2025 21:01:42
Script start
Timing: Jan 18 2025 21:01:42
Module start 'content'
Timing: Jan 18 2025 21:01:42
Module end 'content'
Timing: Jan 18 2025 21:01:42
Script end

Main resources:

Total runtime0.8073 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.5859180.8516
Module start 'content' 0.00690.6001 768.4375561.3359
Module end 'content' 0.60700.2003 1,329.7734337.3906
Script end 0.8073  1,667.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5099210.0002
Check MTime0.00150.1796210.0001
Mysql Total
Database connection0.00110.137510.0011
Mysqli_queries0.716288.71462000.0036
Looping result0.00260.32001980.0000
Template Total0.766194.920.3830
Template load0.00200.242520.0010
Template processing0.764194.641420.3820
Template load and register function0.00020.024310.0002
states
state_id_array0.00160.203110.0016
state_identifier_array0.00110.141620.0006
Override
Cache load0.00160.1991360.0000
Sytem overhead
Fetch class attribute can translate value0.00150.191030.0005
Fetch class attribute name0.00160.197460.0003
XML
Image XML parsing0.00240.294030.0008
class_abstraction
Instantiating content class attribute0.00000.002870.0000
General
dbfile0.00440.5391270.0002
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs