JOOMLA! 2.5.7 Simple Basic Component Design

Submitted by Anonymous (not verified) on Sun, 10/28/2012 - 12:51

Sample Component Design

this component is to display a quote "You can do anything, but not everything".

 

 

For our basic Sample component, we only require five files:

  • site/quote.php - this is the entry point to our component
  • site/controller.php - this file contains our base controller
  • site/views/quote/view.html.php - this file retrieves the necessary data and pushes it into the template
  • site/views/quote/tmpl/default.php - this is the template for our output
  • hello.xml - this is an XML (manifest) file that tells Joomla! how to install our component.

Related Items