Free Mambo Templates - Free Joomla Templates
Joomla Hut HomeContact UsJoomla LinksMambo Forum - Joomla ForumJoomla Downloads
Home
News
Articles
Gallery
Downloads
Tutorials
Site Reviews
Flash Tutorials
Templates Demo
Joomla Links
FAQ
Submit News
Advertise Here
Our Sponsors




Search
Advertisement
Seek Your Host
New York Web Design
Online Reputation
Joomla Templates
Login Form





Lost Password?
No account yet? Register
Joomla Extensions
Joomla Templates
TemplatePlazza
 
Joomla Website

Creating a quick and easy Mambo component Print E-mail
Written by Doyle Lewis   
Thursday, 15 April 2004

Mambo Components TutorialThis is the quick component tutorial that goes with the module tutorial. This will insert "Hello World" into the database. It will also allow you to edit it, or add new messages as you see fit. This tutorial will not cover setting up categories, the search function, or page navagation. This tutorial does assume you have a very basic grasp of php.

When creating components, there are many files involved.

hello_world.xml - Component installer file
hello_world.php - Will display any frontend information.
admin.hello_world.php - Does database queries and sets up the HTML output
admin.hello_world.html.php - Handles all output.
class.hello_world.php - The database class file.
install.hello_world.php - The installer file.
uninstall.hello_world.php - The uninstall file.
toolbar.hello_world.php - Sets up the toolbar.
toolbar.hello_world.html.php - Handles the toolbar output.

 

Now that we know what all of the files are going to be, let's take a file by file look at how they function.

 


 
< Prev
 
 
Joomla Jobs
 
 
Joomla Flash Tutorials
   
     
Home   |   Contact   |   Links   |   Forum   |   Downloads  |  Media Kit
 

© Copyright 2003 - 2006 by BUYHTTP, LLC. All rights reserved.
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Powered By Joomla!

Joomla Top Sites - Your Primary Source of Joomla Traffic