How to get concrete5 to recognize Dashboard controller for child single pages
Permalink
Hi there -
I'm creating a custom dashboard package that installs two single pages under a parent single page / folder. The parent single page controller is not loading at all and I'm not sure why. Please see the attached image for my directory structure. Please look at the "inquiry_forms" package. As you can see, I have two tier pages under "inquiry_forms" - contact form and eap form, but the main landing page for inquiry_forms (view.php) does not load its controller (inquiry_forms.php). I need to load this controller like the other C5 dashboard pages so I can redirect users to the first tier page, contact, for example. This is a bit hard to explain so I'm sorry of this is not clear. The package install method makes sure there are single pages added to the system and they are present when looking at the single pages in C5. Not sure what is going on here or how to fix.
To help explain in greater detail, there a post here:
http://documentation.concrete5.org/developers/working-with-pages/si...
under Single Pages and Paths for having multiple single pages under a section - which is what I'm trying to do, but the landing page controller is simply not loaded.
I'm creating a custom dashboard package that installs two single pages under a parent single page / folder. The parent single page controller is not loading at all and I'm not sure why. Please see the attached image for my directory structure. Please look at the "inquiry_forms" package. As you can see, I have two tier pages under "inquiry_forms" - contact form and eap form, but the main landing page for inquiry_forms (view.php) does not load its controller (inquiry_forms.php). I need to load this controller like the other C5 dashboard pages so I can redirect users to the first tier page, contact, for example. This is a bit hard to explain so I'm sorry of this is not clear. The package install method makes sure there are single pages added to the system and they are present when looking at the single pages in C5. Not sure what is going on here or how to fix.
To help explain in greater detail, there a post here:
http://documentation.concrete5.org/developers/working-with-pages/si...
under Single Pages and Paths for having multiple single pages under a section - which is what I'm trying to do, but the landing page controller is simply not loaded.
The view.php seems to have been dropped in 5.7 (from my experience) the other thing that could be tripping you up could be namespaces. But we'd have to see the controller content in order to know that.