Call an extern Controller |
[eluser]Unknown[/eluser]
Hello, Short problem description: How can I load a external controller and call a method of it, without sharing his functions? What I want: I have written an application with uses ajax. Now the most controller (and views) gives the content of a div back. Everything is good. But there exists people with have JavaScript disabled and there have a problem. I thought, I just write an other controller with gives first the header out, then call the controller with he originally requested and gives his result out and finally print the footer of the page. I have found the post from Peter Goodman, but I get follow exception: Quote:A PHP Error was encountered Quote:Fatal error: Call to a member function _assign_libraries() on a non-object in /var/www/CodeIgniter/system/libraries/Loader.php on line 980 Can anyone help me? Thanks a lot! Lirum |
Welcome Guest, Not a member yet? Register Sign In |