modules::run in view problem |
[eluser]Webjema[/eluser]
Hello. About 2 hours looking for a solution, but without result (wiki and forum studied). So, I have module [app/modules/mainpage/controllers/mainpage.php] Code: class Mainpage extends MX_Controller { please note: class Mainpage extends MX_Controller The view [app/modules/mainpage/views/mainpage_page.php] Code: <!DOCTYPE html> And I have module [app/modules/welcome/controllers/welcome.php] with view [app/modules/welcome/views/welcome_page.php] But my page has only "<h1>Mainpage</h1>" output. No welcome view inside. No errors. What is wrong? I tried: Code: <?php echo modules::run('welcome/welcome'); ?> No results. In browser http://domain.com/welcome/welcome works fine. Please, help run it. |
Messages In This Thread |
modules::run in view problem - by El Forum - 06-17-2011, 03:59 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:05 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:06 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:16 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:21 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:22 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:26 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:26 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:39 PM
modules::run in view problem - by El Forum - 06-17-2011, 04:55 PM
modules::run in view problem - by El Forum - 06-17-2011, 05:04 PM
modules::run in view problem - by El Forum - 06-17-2011, 05:11 PM
modules::run in view problem - by El Forum - 06-17-2011, 05:15 PM
modules::run in view problem - by El Forum - 06-17-2011, 05:16 PM
modules::run in view problem - by El Forum - 06-17-2011, 05:26 PM
modules::run in view problem - by El Forum - 06-17-2011, 05:34 PM
|