|
Articles -
Mambo
|
|
Page 1 of 7
Throughout this article, I'll use 'mycomp' to represent the component name which should be replaced by your own component name, and 'installdir' as Mambo base installation directory.
I’ll start by explaining the basic files required to build a component. These files are grouped according to where they are used/viewed:
- Frontend files
mycomp.php
mycomp.html.php (optional)
- Administration files
admin.mycomp.php
admin.mycomp.html.php (optional)
toolbar.mycomp.php
toolbar.mycomp.html.php (optional)
- Class files
mycomp.class.php (optional)
- Installation files
mycomp.xml
install.mycomp.php (optional)
uninstall.mycomp.php (optional)
Files marked 'optional' are not technically required by Mambo but having them makes it easier to manage your code later.
|