Default page type controller from a package
Permalink
Working on a theme within a package, and have setup controllers for each page type in the theme...
here is an example of the directory structure, to clarify:
the view in the theme forlder: [root]/packages/mypackage/themes/woot/page_type1.php
the controller:
[root]/packages/mypackage/controllers/page_types/page_type1.php
That setup works for most of the page types, except view.php and default.php
Does anyone have any ideas how to setup a controller for those theme page types in this situation?
here is an example of the directory structure, to clarify:
the view in the theme forlder: [root]/packages/mypackage/themes/woot/page_type1.php
the controller:
[root]/packages/mypackage/controllers/page_types/page_type1.php
That setup works for most of the page types, except view.php and default.php
Does anyone have any ideas how to setup a controller for those theme page types in this situation?