Home arrow Joomla Tutorials arrow index.php elements of a Joomla template
index.php elements of a Joomla template

These are the elements which you can use into the index.php file from a Joomla template.

<?php echo $mosConfig_sitename;?> - displays the name of the Joomla based site
<?php mospathway()?> - shows the pathway
<?php mosLoadModules('top');?>  - loads the module that is positioned in the top area from the Admin area > Modules > Site Modules
<?php mosLoadModules('left');?> - loads the module that is positioned in the left area from the Admin area > Modules > Site Modules
<?php mosMainBody();?> - displays the main content of the site. This is the place where the components are showed.
<?php mosLoadModules('right');?> loads the module that is positioned in the right area from the Admin area > Modules > Site Modules
<?php include_once( $mosConfig_absolute_path .'/includes/footer.php' );?> - loads the footer part, that can be edited in the joomla_installation_folder/includes/footer.php
Comments
Add New
zizo  - users   |212.118.151.xxx |2009-02-21 09:45:33
What about user1 and user2 and user3 etc?

Is it possible to have a design for
the home page and other designs for the rest pages?
Write comment
Name:
Email:
 
Title:
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
< Prev