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!

 
jero replied on at Permalink Reply
jero
If you're wanting to make the addition of the controller an editable feature, then you're going to need to use a block.

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.
Mnkras replied on at Permalink Reply
Mnkras
you should either page a new blocktype or a singlepage, the /controllers folder is used only for single_pages