Welcome Guest, Not a member yet? Register   Sign In
Suggestions for making "Addons" for a CI app?
#8

[eluser]CI_avatar[/eluser]
You can develop an installation controller first as part of your existing system. what it does is to unzip then copy the the controller,model,views from the module to the their respective directories.

sample module.zip (contains controller/controller.php, module/module1.php, module/module2.php, views/header.php, views/body.php, views/footer.php)

copy the content in view folder to the system view folder
copy the content in module folder to the system module folder
copy the content in module controller to the system controller folder

now you can use your module. but its just like copy and paste of folder, the problem is how to use the newly added module directly? I guess you need a table of your added modules and a controller the will handle the modules.


Messages In This Thread
Suggestions for making "Addons" for a CI app? - by El Forum - 08-22-2010, 04:04 PM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-22-2010, 07:51 PM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-22-2010, 08:19 PM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-22-2010, 08:29 PM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-22-2010, 08:45 PM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-22-2010, 08:46 PM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-23-2010, 04:11 AM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-23-2010, 04:17 AM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-23-2010, 04:26 AM
Suggestions for making "Addons" for a CI app? - by El Forum - 08-25-2010, 12:17 PM



Theme © iAndrew 2016 - Forum software by © MyBB