Forums / Developer / Multipages articles in ezwebin

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