Multipages articles in ezwebin

Author Message

Salvatore Guarino

Thursday 18 June 2009 4:59:57 am

Hi,
I'm trying to use multipages articles using the last website interface 1.4.2 on ezp 4.1.3
I created the following structure:

--Main article (class article-main page)
   |
   -page 1 (class article-sub page)
   |
   -page 2 (class article-sub page)
   |
   -page 3 (class article-sub page)
...
...
...

At the bottom of articles, in the full view, there is a navigation bar. This bar should create automatically a link to the previous page and a link to the next one, but I think that this doesn't work correctly. In fact on the "page 1" node, in the full view, I can see the link to the parent node (main article) but not to the next page (page 2). If I go to the "page 2" node, I can see always the link to the "Main article" parent page, but not to the previous "page 1", and there isn't a link to the "page 3" node. I think that this is a bug of the ezwebin extension, or I have misunderstand how the multipages article system works.
Any idea?

Thx in advance,

Salvatore

Łukasz Serwatka

Thursday 18 June 2009 5:46:24 am

Hi,

You have to use a priority sorting. e.g priority 10 for first 1st subpage, 20 for 2nd subpage and so on. This is example, you can use your own convention. Click the sort icon in website toolbar in frontend while viewing multipage article class or use backend.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Salvatore Guarino

Friday 19 June 2009 3:48:50 am

Thank you very much, Łukasz! I used a priority sorting (and cleared the cache) and now it works fine.

Thx and bye,

Salvatore

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 15:07:28
Script start
Timing: Jan 18 2025 15:07:28
Module start 'layout'
Timing: Jan 18 2025 15:07:28
Module start 'content'
Timing: Jan 18 2025 15:07:29
Module end 'content'
Timing: Jan 18 2025 15:07:29
Script end

Main resources:

Total runtime1.1411 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9141152.6250
Module start 'layout' 0.00510.0024 740.539139.4453
Module start 'content' 0.00751.1324 779.9844547.3516
Module end 'content' 1.13990.0012 1,327.335912.1641
Script end 1.1411  1,339.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2707160.0002
Check MTime0.00130.1110160.0001
Mysql Total
Database connection0.00080.067710.0008
Mysqli_queries1.090295.5426570.0191
Looping result0.00050.0455550.0000
Template Total1.110197.320.5551
Template load0.00170.147520.0008
Template processing1.108497.138820.5542
Template load and register function0.00020.017010.0002
states
state_id_array0.00090.074710.0009
state_identifier_array0.00210.182220.0010
Override
Cache load0.00140.1270210.0001
Sytem overhead
Fetch class attribute can translate value0.00090.079620.0005
Fetch class attribute name0.00110.098750.0002
XML
Image XML parsing0.00100.085120.0005
class_abstraction
Instantiating content class attribute0.00000.001160.0000
General
dbfile0.00080.0730250.0000
String conversion0.00000.000640.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs