Sat, 04 July 2009
Home
Articles
Books
Search
Tools
Whois
Links
Sitemap
Contact us
Privacy policy
Home arrow Articles arrow Mambo arrow Mambo Component Tutorial

Mambo Component Tutorial PDF Print E-mail
Articles - Mambo
Article Index
Mambo Component Tutorial
Frontend files
Administration files
Class files
Installation files
Appendix A. mosMenuBar
Appendix B. getPath

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)

play uranium

Files marked 'optional' are not technically required by Mambo but having them makes it easier to manage your code later.



 

Powered by
Syndicate