Hardcoding date_nav
Permalink
So I'm using ProBlog and I want to have a sidebar with a hardcoded date_nav in it to display the year/month/post titles of everything in the blog.
My site map structure looks like:
And this is what the hardcoded date_nav looks like, on the blog template page:
Everything is working great EXCEPT that the pages being displayed for October, this month, are all of the blog posts AND the subpage templates I've built! I want just the blog posts. I've tried kind of everything, can anyone help? Am I missing a line?
My site map structure looks like:
Home About Blog -Blog Archives - 2013 - 10 - Lorem ipsum - Title post - Another post - 9 - A post for September - Another post for Sept - 2012 - 9 - A post in Sept for 2012
Viewing 15 lines of 17 lines. View entire code block.
And this is what the hardcoded date_nav looks like, on the blog template page:
$dNav = BlockType::getByHandle('date_nav'); $dNav->controller->num = 0; $dNav->controller->cThis = 0; $dNav->controller->displayPages = 'custom'; $dNav->controller->orderBy = 'display_asc'; $dNav->controller->flatDisplay = 0; $dNav->controller->default_node = 'current_page'; $dNav->controller->truncateSummaries = 0; $dNav->controller->displayFeaturedOnly = 0; $dNav->controller->showDescriptions = 0; $dNav->controller->displayPagesCID = 124; $dNav->controller->displaySubPages = 'none'; $dNav->controller->displaySubPageLevels = 'all'; $dNav->render('view');
Everything is working great EXCEPT that the pages being displayed for October, this month, are all of the blog posts AND the subpage templates I've built! I want just the blog posts. I've tried kind of everything, can anyone help? Am I missing a line?