CodeIgniter Forums
Help with module interaction - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Help with module interaction (/showthread.php?tid=49452)



Help with module interaction - El Forum - 02-20-2012

[eluser]Dan Tdr[/eluser]
Hello,

As the topic says i need some help with module interaction.

I am using hmvc [Modular Extensions - HMVC] and Phil Sturgeon's template library.

Now, the problem is that i don`t know how to extend a module and add something to the original module`s view file.

To be more explicit:
I have a form page to add a new client, it has 3 tabs: general info, bank info and contact persons info (each tab has form inputs with specific data for it).

Now, this will be a core module. The problem is that i want users to be able to create modules(plugins) to interact with the core modules. So for example i want to extend the client module so that besides the 3 tabs, it will contain one more tab, let`s say client documents. I want to add this tab in the original form view file.

How can i do this?
i googled it, and spent about 6 hours with no viable result.
Can anyone help? even a hint in the right direction, or maybe if someone else had a similar request.

Thank you,
Dan

PS: if you need more info let me know, i`ll try to be more explicit.