print $innerContent on Custom Themed Single Pages renders nothing.

Permalink 1 user found helpful
print $innerContent;

On a Custom Theme I have made for view.php/single pages just doesn't seem to out put anything.

I've un-commented the appropriate lines in /config/site_theme_paths.php has anyone got any ideas? I'm including the c5 header/footer.

 
Steevb replied on at Permalink Reply
Steevb
Is your content as shown above or is it:
<?php  print $innerContent; ?>
lexbi replied on at Permalink Reply
yeah it's in the php tags, just prints absolutely nothing.
jeroenv replied on at Permalink Reply
jeroenv
Here is perfectly explained:
http://www.concrete5.org/community/forums/themes/single-page-templa...

I fixed it by replacing
print $innerContent;

by
require $content;

in the custom theme file with the same name as the single page.
Tested on version 5.6.1.2.