Basic Template Files
- Index.php .
- Template Detail.xml.
- Template Thumbnail.
- Template_css.css.
- Images[Folder].
PHP Snippets for Index.php
- <?php mosShowHead();?> ->Request Head Tags
- <?php mosConfig_Sitename ?> ->Request Site Name
- <?php mosConfig_live_site?> ->Request URL of the site
- <?php init Editor(); ?> ->Loads WYSIWYG Editor for user
- <?php endif(); ?> ->Closes a function
JDoc Statement
- <jdoc:include type="head"/> ->Output head section in the webpage.
- <jdoc:include type="component"/> ->Output Components used .
- <jdoc:include type="Installation"/> ->Install included files.
- <jdoc:include type="message"/> ->Display message in the webpage.
- <jdoc:include type="module"/> ->Include module on the webpage.
Module Postion
<?php mosLoadModule ('position'); ?> ->Helps to load position of the modules.
I hope this " Joomla Template Cheat sheet " helped you!.This sheet help only for beginners in case if you need to develop advance template you need to refer this API.
Download PDF
