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 )
 
Post and Bid on Joomla/PHP projects! Join EUFreelance.com for free!

Europe freelancer directory

Newsletter

Subscribe to TeachMeJoomla's newsletter
Name:
Email:


Auto tags

pagination

joomla pagination

joomla article pagination

pagination joomla

pagination in joomla

joomla article index

Pagination in joomla article

joomla multi page article

pagination for articles joomla

articles index in joomla

large articles in joomla

multi page article in joomla

joomla pagination tutorial

how to paginate in joomla

pagination joomla extension

article pagination in joomla

article index joomla

joomla article paging

how to enable pagination in joomla

what is Pagination in joomla

article toc joomla

display pagination in joomla