How to use functionality of another controller (render its view inside mine)? |
(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 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 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. |
Messages In This Thread |
How to use functionality of another controller (render its view inside mine)? - by Kulavert - 10-12-2015, 10:53 AM
RE: How to use functionality of another controller (render its view inside mine)? - by lazyfox - 10-12-2015, 08:29 PM
RE: How to use functionality of another controller (render its view inside mine)? - by mwhitney - 10-13-2015, 01:09 PM
RE: How to use functionality of another controller (render its view inside mine)? - by Kulavert - 10-14-2015, 12:33 AM
RE: How to use functionality of another controller (render its view inside mine)? - by mwhitney - 10-14-2015, 07:45 AM
RE: How to use functionality of another controller (render its view inside mine)? - by ivantcholakov - 10-14-2015, 04:58 AM
RE: How to use functionality of another controller (render its view inside mine)? - by Kulavert - 10-14-2015, 11:57 PM
|