How to splite an article to multi pages ?

Author Message

Marvix Marx

Friday 04 August 2006 8:37:57 am

If you have a big article will be nice to breake to pages, or to head lines (titles), but how to do this with ezp 3.8.4 ?!

Thanks

Stuart Fenton

Friday 04 August 2006 9:25:37 am

You can create two different classes one for the master page and another for the sub pages. For example the classes could be called "Article Multipage" and "Article subpage".

You would create an "Article Multipage" and the each sub page as children of the "Article Multipage".

You would then write some templates to contain the design. The Multipage would reference the node in it's fetch statements while the subpage would reference the parent in it's fetch statements.

This won't automatically cut up a large page but is very effective for structuring lots of information in an organised way.

Have a look at Westany for a simple example: http://www.westany.com/voices/complete_voice_prompt_packs_for_the_asterisk_pbx/tamara_female_russian_asterisk_voice_prompts

Regards
Fats

-- Stuart

stuart@grandmore.com
http://www.grandmore.com

Xavier Dutoit

Friday 04 August 2006 9:51:42 am

Bart added two features, one to create a table of content out of the headers, the second to be able to jump to any of these headers.

With that, you can have this splited by page, or play with javascript to provide the same effect.

I couldn't put my hand on the documentation, but here's the txt:
http://lists.ez.no/pipermail/sdk-svn/2006-March/006175.html

try |eztoc on your xmlblock and let us know.

X+

http://www.sydesy.com

Marvix Marx

Saturday 05 August 2006 12:08:05 am

Thanks for your help ...

Fats Fenton ... I don`t see what we talking about in that site, but I had understand what you mean ,,,

Xavier Dutoit ... spliting the page by dhtml, or JS will not optimize the site for speed, loading part by part will be faster ...
Where to read more about this features, this will be great .. any document about it ,,, I couldn`t see the the way how to use it !

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