PyroCMS v0.9.7.4 - an open-source modular general purpose CMS |
[eluser]bdegier[/eluser]
I'm running into some problems trying to develop a shoppingcart module for my application. I've made a folder "shoppingcart" in the modules folder and wrote a controller and view. Now when i go to http://localhost/pyrocms/shoppingcart i get served my view nicely but how do I implement this in my layout? I've stolen some code from the index page which loads the news module: Code: <?php if(module_exists('shoppingcart')): ?> But this throws me the following error: Quote:A PHP Error was encountered So i tried the dirty method: Instead of including the module in one of the pages i placed the whole layout in the module view and then got this error: Quote:A PHP Error was encountered |
Welcome Guest, Not a member yet? Register Sign In |