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

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 18 2025 22:27:44
Script start
Timing: Jan 18 2025 22:27:44
Module start 'layout'
Timing: Jan 18 2025 22:27:44
Module start 'content'
Timing: Jan 18 2025 22:27:45
Module end 'content'
Timing: Jan 18 2025 22:27:45
Script end

Main resources:

Total runtime0.7617 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.7891152.6094
Module start 'layout' 0.00580.0032 740.398439.4141
Module start 'content' 0.00900.7510 779.8125556.2734
Module end 'content' 0.76000.0016 1,336.085912.1875
Script end 0.7617  1,348.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4146160.0002
Check MTime0.00130.1736160.0001
Mysql Total
Database connection0.00090.115410.0009
Mysqli_queries0.704492.4696630.0112
Looping result0.00060.0779610.0000
Template Total0.731996.120.3659
Template load0.00190.254720.0010
Template processing0.729995.821420.3650
Template load and register function0.00020.023010.0002
states
state_id_array0.00140.189310.0014
state_identifier_array0.00090.120920.0005
Override
Cache load0.00160.2113360.0000
Sytem overhead
Fetch class attribute can translate value0.00070.088720.0003
Fetch class attribute name0.00100.132360.0002
XML
Image XML parsing0.00290.386220.0015
class_abstraction
Instantiating content class attribute0.00000.002270.0000
General
dbfile0.00290.3868160.0002
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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