Page type controller not loaded -- 5.7.4.2
Permalink 1 user found helpfulI created a custom page type: Home. Whatever I do, the corresponding controller doesn't seem to be loading.
// {C5ROOT}/packages/mentor/controllers/page_types/home.php <?php namespace Concrete\Package\Mentor\Controller\PageType; use Concrete\Core\Page\Controller\PageTypeController; class Home extends PageTypeController { // ... }
I tried removing the package and reinstalling it, deleting cache both in browser and in c5.
I tried putting it in the application folder (with Application\Controller\PageType namespace, of course) and uninstall/reinstall, but nothing seems to change.
Any suggestions?
Thanks!

Yes, the point is, c5.7 separates templates and page types. If you have installed everything correctly, you will see that you can select the given page theme or page template or whatever on the pages attributes page separately from its page type. If you do, your page type controller will load.