How to paginate a large article

Thursday, 05 January 2006

Joomla takes care of pagination output for you. If you have a large article and you want it displayed on several pages, you need to define pagebreaks.

Open article(content item) for editing.

Place the cursor in the editor window at the position you want to insert pagebreak.

Type {_mospagebreak_} whithout the underscores.

Save your article and you're done.

Remember, you need the pagination mambot enabled(i.e. the mambot should be in 'published' state) in order to paginate content item(see picture for details).

Publish pagination mambot
Publish pagination mambot

If you want a nice little TOC on your multi-page articles, you must enable the corresponding option in backend(administration) Global Configuration.

Enabling TOC display
Enabling TOC display

This generates a TOC like:

  • Index 
  • Page 1 
  • Page 2

, which gets displayed in article body when browsing a multi-page article.

I you want a more explicit TOC, you need to complete {_mospagebreak_} code with the title attribute. Here's an example:

 {_mospagebreak_ title=Nice page title for TOC_}

Remember to type without underscores! 

 After this modification, TOC will display pagebreak titles. If some titles are not defined, the "Page n" text will be displayed.

 



Give us some social love (it really works now)!

Reddit! Del.icio.us! StumbleUpon! Yahoo! Swik!



Be first to comment this article
RSS comments

Write Comment
  • Please keep the topic of messages relevant to the subject of the article.
  • Please don't use comments to plug your web site. Links are rel='nofollow'-ed
  • Please refresh the page if you're having trouble with the security image code
Name:
E-mail
Homepage
Title:
Comment:

:) :grin ;) 8) :p
:roll :eek :upset :zzz :sigh
:? :cry :( :x
Code:* Code

Last Updated ( Thursday, 18 September 2008 )
 

Newsletter

Subscribe to TeachMeJoomla's newsletter
Name:
Email:


Auto tags

joomla pagination

joomla article index

pagination joomla

article index joomla

joomla toc

how to paginate

pagination in joomla

joomla "article index"

joomla article pagination

article index in joomla

"article index" joomla

joomla index article

joomla article toc

joomla content pagination

pagination with joomla