print $innerContent on Custom Themed Single Pages renders nothing.
Permalink 1 user found helpfulprint $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](/files/avatars/9622.jpg)
Is your content as shown above or is it:
yeah it's in the php tags, just prints absolutely nothing.
Here is perfectly explained:
http://www.concrete5.org/community/forums/themes/single-page-templa...
I fixed it by replacing
by
in the custom theme file with the same name as the single page.
Tested on version 5.6.1.2.
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.