Inserting a controller into a page
Permalink
I have a php file in my root/controllers file that I would like to insert directly into a page block. As controllers do not appear as blocks, I am not sure how to do this...does a new block type have to be created in order to import this controller, or is there an easier way to do it?
Thanks!
Thanks!
You could try installing the free simple PHP block:
http://www.concrete5.org/marketplace/addons/simple-php-block/...
Once that's installed, you can add pretty much any PHP you want, including requiring other files such as controllers.