Welcome Guest, Not a member yet? Register   Sign In
How to use functionality of another controller (render its view inside mine)?
#7

(10-14-2015, 04:58 AM)ivantcholakov Wrote: What you want sounds like HMVC. I have never used Tank-Auth, so I can not be concrete here. I have found an old project that could give a hint: https://github.com/Abban/Tank-Auth-for-MX-HMVC

Edit: Search with "Tank-Auth HMVC" for checking about more solutions.

Ivan, now I believe HMVC is the right way to go! Starting to smoke manuals...
Mwhitney, I have read yours and kilishan's posts about Modules::Run(), etc.
Thank you all for co-operation Smile


By the way, I have found another solution for my certain example with Auth: I just script a client to load "index.php/auth/login" into the target DIV. Works fine! In a case when script fails there is still a "login" anchor in the target DIV.
Reply


Messages In This Thread
RE: How to use functionality of another controller (render its view inside mine)? - by Kulavert - 10-14-2015, 11:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB