Documentation Menu

1.5 Template Project

The Joomla! Documentation Working Group is running a project to develop detailed reference and tutorial material on Joomla! 1.5 templates.  There is a project page on the documentation wiki where you can see the work in progress and help us by contributing your knowledge.

Who's Online

We have 13 guests online

Help Site License

The Joomla! Help Site content is copyright © 2005 - 2008 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution NonCommercial ShareAlike 2.5. Some parts of this website may be subject to other licenses.
Home arrow Manual arrow 11. API Reference arrow mosMainBody

mosMainBody PDF Print E-mail

Last reviewed: 18 Nov 2005, Joomla 1.0.3


mosMainBody displays the main body of the page, which is everything between the <body> tags. The page contents are buffered using ob_start and ob_get_contents. The content of this buffer is displayed by mosMainBody. If the request variable mosmsg is set then the message is included before the body in <div> tags, with class="message". In the future it may be possible to display the message as a Javascript alert.


void mosMainBody ( )

Defined in

(includes/frontend.php prior to Joomla 1.1)


Example: Display the main body of the page.


This will display the main body of the page.

Please report any errors on this page to the Developer Documentation Forum.

Last Updated ( Tuesday, 03 January 2006 )
< Prev   Next >