Fatal error: Using $this when not in object context |
[eluser]beatryder[/eluser]
[quote author="flumps" date="1187017492"]sorry its early here and my brain cells havent engaged yet, do I put that code in the contollers/pages.php file?[/quote] Pardon me if I seem rude, but it seems as though you don't fully understand how code igniter works? Have you watched the videos? Basically what you need to do is set up a controller to load a view, then pass the view the information you want it to display. Edit: Yes, it would appear that you want to use your pages.php file. You have not posted a great deal of information. If you are still having troubles post the entire contents of controllers/pages.php AND views/header.php so that people can get the full context of what you are trying to accomplish. |
Welcome Guest, Not a member yet? Register Sign In |