Single Page Not Using View.php

Permalink
I'm seeing an issue where my single page is not loading the view.php file. It seems to access the controller fine..

I saw another similar post where it talks about making sure that site_theme_paths.php is set up to use your current theme, and it is..

It's weird, it seems to load the controller.php and all I'm doing is trying to load the form helpers using: public $helpers = array('html','form');

The odd part is that the page used to work, but ever since we set up a Dev server, something seems to have changed where the view will no longer load properly. I'm using the following format:

/controller/mypage/controller.php
/view/mypage/view.php

Is there anything else that could be conflicting with the page that anyone can think of?

 
brainmonger replied on at Permalink Reply
To clarify, I see the header and footer load fine.. just not view.php itself; it's not loading any of that code at all.
JohntheFish replied on at Permalink Reply
JohntheFish
That you are seeing the header and footer shows C5 is finding the theme view.php file.

Try putting your single page content in:
singlepages/mypage/view.php
brainmonger replied on at Permalink Reply
My view is actually under /single_pages/mypage/view.php.
Sorry, I misspoke when I said it was under /view/mypage/view.php.

So, if it's picking up the view, I wonder why it's not actually rendering the content.. at the very least it should be rendering the title from it before the view is actually doing any of the form helper calls..
brainmonger replied on at Permalink Reply
I think I found the issue..

My theme's view.php needed to contain the following line of code, which will then render the content from single_pages. I guess at some point someone took it out or something else overwrote that.
brainmonger replied on at Permalink Reply
<?php print $innerContent; ?>