Navigation not showing up for single page
Permalink
I added a view.php file to my theme for a single page that I'm playing around with. I'm using the following in my view.php to display the content of the single page file.
Everything renders fine except the navigation isn't displayed. I'm using the following code in the default.php file to render the navs.
I used the same code above in the view.php. Am I supposed to use something different or do I need to put that code in the my_single_page.php file?
Thanks!
<?php print $innerContent; ?>
Everything renders fine except the navigation isn't displayed. I'm using the following code in the default.php file to render the navs.
<?php $a = new Area('Header Nav'); $a->display($c); ?>
I used the same code above in the view.php. Am I supposed to use something different or do I need to put that code in the my_single_page.php file?
Thanks!
try to put it into your header.php, should work.
I actually had to edit the page (in Concrete 5) and add a navigation block to the left side. I'm still not quite sure why I had to do that. If someone knows why it works that way, I'd like to know. If could further my understanding of the internal workings of C5.
Thanks!
Thanks!