- 1. Introduction
- 2. Development Environment
- 3. Creating a Product
- 4. Creating a Module
- 5. Creating a Controller - (Hello World!)
- 6. Working with Controllers
- 7. Creating a Service
- 8. Creating a Block
- 9. Registering Blocks with Controllers
- 10. Adding a Menu to a Controller
- 11. Plugins
- 12. Product Complete - Ready for Export
Creating Your First Add-on
Welcome to the phpFox developers manual. This manual will help you get started with how to develop new modules and plug-ins, which make up add-ons.
Table of contents
- Introduction
- Development Environment
- Creating a Product
- Creating a Module
- Creating a Controller - (Hello World!)
- Working with Controllers
- Creating a Service
- Creating a Block
- Registering Blocks with Controllers
- Adding a Menu to a Controller
- Plugins
- Product Complete - Ready for Export

Module ID
Unique module ID. Similar to how you create a product ID your module ID must be unique, however your module ID can only contain lowercase characters from a-z.
Not sure if that is true for V3 because as far as I can see the first letter of V3 module IDs is usually upper case, e.g.
Module ID: Friend
really good one but i think phpfox need more pages than 12 plus api isn't so good
please add more page with more information
keep it on
Hi,
the code for install module (like tables), this must be added manually on xml?
example:
<installs>
<install>
<version>1.0</version>
<install_code>
SQL / PHP CODE GO HERE
..
There is a tutorial for this?
Regards
Hi,
maybe is better add to this nice tutorial the way for manage custom module from admincp.
I check other module, and if I understand right (there is no guide about this or I don't find it), for create controller for admincp is necessary create a folder and files here:
/module/phpfoxsample/include/component/controller/admincp/in dex.class.php
and template file here:
/module/phpfoxsample/template/default/controller/admincp/ind ex.html.php
Service is the same.
This is correct?
In version 3 how would someone add Menu's like the ones we have for Uploading a New Image, Design Profile, Edit Profile.... How can we add more of does menus from the admin panel ?
How much of this information is changing with the new version 3?
I'm planning to start learning how to develop add-ons, but not sure if I should wait for v3 updates or what parts of these articles are changing?
If you can't find how to edit the module submenus (menu 1, menu 2) on the admincp, look in the phrase manager.
You can find the tutorial that gives the general overview of the module folders at http://www.phpfox.com/kb/article/225/create-your-o...





