Hide Category

Resources

PHP,CSS,JS,jQuery

Opensource

CMS,Scripts

Snippets

Css,PHP,Js

26 October 2008

joomla template cheat sheet

Joomla is a popular content management system to create portal based sites. More than 10,000 of sites using joomla ,including big organisation like virgin . So creating Joomla templates is very important for web designers.Here i am writing a help sheet or cheat sheet to create joomla template.

Basic Template Files



  1. Index.php .

  2. Template Detail.xml.

  3. Template Thumbnail.

  4. Template_css.css.

  5. Images[Folder].


 

PHP Snippets for Index.php



  1. <?php mosShowHead();?>                               ->Request Head Tags

  2. <?php mosConfig_Sitename ?>                       ->Request Site Name

  3. <?php mosConfig_live_site?>                         ->Request URL of the site

  4. <?php init Editor(); ?>                                      ->Loads WYSIWYG Editor for user

  5. <?php endif(); ?>                                             ->Closes a function


 

JDoc Statement



  1. <jdoc:include type="head"/>                         ->Output head section in the webpage.   

  2. <jdoc:include type="component"/>               ->Output Components used .

  3. <jdoc:include type="Installation"/>               ->Install included files.

  4. <jdoc:include type="message"/>                   ->Display message in the webpage.

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

Popular Posts

Recent Comments

Powered by Disqus