|
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
|