Can't get C5 to use my custom single page template

Permalink
I'm trying to follow the documentation here:
http://documentation.concrete5.org/developers/working-with-pages/si...

specifically this section:
"Want to change this? You can. If you need more flexible control over a single page within a particular theme, just include a file with the same name as your single page within the theme itself. That entirely file will be used as the single pages template, including the header, footer, etc... It can completely override the single page, too. (So, in our example above, once we have "media" added as a single page, add "media.php" to your active theme. This template will then be used instead of the single page."

I added a single page at:
application/single_pages/sp_name/view.php

and a template at:
application/themes/mytheme/sp_name.php

C5 is still using application/themes/mytheme/view.php to wrap my single page instead of the template I added. I tried a number of things but nothing works so far. Is the paragraph in the documentation missing a step or what might I be doing wrong? I need to get rid of the col-sm-12 bootstrap column in view.php.

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi dennismoore,

I tried this also without success.

You can try this instead:
- application\controllers\single_page\sp_name.php
- application\single_pages\sp_name.php
- application\themes\your_theme\sp_name.php

I am not sure why, but when the single page was in a folder and called view.php, it did not work.
did not work - application/single_pages\sp_name\view.php
did work - application\single_pages\sp_name.php
dennismoore replied on at Permalink Reply
Hi MrKDilkington,

Thanks for taking a look. I've tried moving the single page up a directory and as you say C5 does start using the custom theme template but it's not including the content from the

<?php print $innerContent; ?>

statement, which is obviously not ideal either. I guess I will need to edit mytheme/view.php. I believe I tried this before, and I didn't notice any dashboard or add-on single pages blow up, so I suppose they don't use it. I've only got the one single page I've added so far, so maybe I can live with editing view.php.
dennismoore replied on at Permalink Reply
nope, problog search results uses it