Auto-Nav not appearing in page types
Permalink
I have started building my first Concrete5 project and the theme works as it should. The problem comes when I try to add a custom page type. I have added a new file to the themes folder called interior_2col.php and have set up links to the header.php file that is in the elements folder.
The header file calls:
On the default.php file the top nav displays on any new page I create, but when I create a new page using a custom page type it doesn't display the top-nav.
Any advice on how I could get this to display automatically?
Thanks
The header file calls:
<div id="headerNav"> <?php $a = new Area('Header Nav'); $a->display($c); ?> </div>
On the default.php file the top nav displays on any new page I create, but when I create a new page using a custom page type it doesn't display the top-nav.
Any advice on how I could get this to display automatically?
Thanks
Sorry, I meant to add when I go into Dashboard and select Pages and Themes I want to select my new page layout, not the default layout. The new page layout doesn't pull in the top nav.
How can I get it to pull in?
How can I get it to pull in?
Go to dashboard, click "Pages and Themes", then click the "Page Types" tab. You should now see a list of all the page types (layouts) on your site. Click the "Defaults" button next to the layout you want to change.
After you add the header nav block to the default, by the way, you will want to click on that block and choose "Setup on Child Pages" so it can be automatically copied to existing pages (unless you've already put it on existing pages, in which case you don't need to do this).
HTH!
-Jordan
After you add the header nav block to the default, by the way, you will want to click on that block and choose "Setup on Child Pages" so it can be automatically copied to existing pages (unless you've already put it on existing pages, in which case you don't need to do this).
HTH!
-Jordan
Looks like I must have missed something in my new page type as my custom page type won't pull in the nav but if I use an existing one it will.
I'll rebuild carefully from a current site and see what I missed.
I'll rebuild carefully from a current site and see what I missed.
Thankyou very very much, was starting to panic.
and hit the default button, any new pages will have anything those pages have