[eluser]nfdevil[/eluser]
Hey,
I'm stuck on a structural problem :p
So, I've got a hmvc (modules) ci, where I have a module articles and a module comments. In each, I have a form view to add/edit (form.php).
Both modules also have an admin controller (admin.php). The methods in the admin controller 'add' and 'edit' call the form view.
Then I have a controller articles.php and a controller comments.php in the articles and comments module respectively.
Now I'm kinda stuck, for example if I want to show the article list and under it i wanna show the add form.
How can I do this? am I going wrong with my structure? any1 got a better structural idea?
And if I wanna show the article detail with the comments under it and a form to add a new comment, any idea?
Code:
Structure:
--modules
----articles
------controllers
--------articles.php
--------admin.php
------views
--------form.php
--------list.php
--------detail.php
----comments
------controllers
--------comments.php
--------admin.php
------views
--------form.php
--------list.php
--------comment.php
Thanks in advance
PS: I'm on Irc too, under the name nfdevil