Autonav - Dynamically Print Or Display Parent List Item
Permalink<ul>
<li>parent1
<ul>
<h2>parent1</h2> <!--Display Parent As Catagor Title-->
<li>Child1</li>
<li>Child2</li>
</ul>
</li>
</ul>
I am also looking for a way to display the parent list item as a title for the third and possibly fourth level. Blelow is a live example of what I am trying to integrate into C5.
http://tympanus.net/Development/MultiLevelPushMenu/index3.html...
Thanks!!

I was planning in creating a custom template as suggested, but the issue is getting the parent to be dynamically inserted into the <h2> tag. Is there a way to pull that with php or jquery? I would prefer not to hardcode the parent values and have them inserted automatically.
Side note. I have seen several of your tutorials. Thanks for all of the hard work you have put into c5 documentation. Your efforts have helped me with many other challenges.
<?php
$bt_main = BlockType::getByHandle('autonav');
$bt_main->controller->orderBy = 'display_asc';
$bt_main->controller->displaySubPages = 'all';
$bt_main->controller->displaySubPageLevels = 'custom'; $bt_main->controller->displaySubPageLevelsNum = '2';
$bt_main->render('templates/view');
?>
and copy /concrete/blocks/autonav/view.php file to /blocks/autonav/view.php
I would rather not hard-code it. I'm hoping there is a way I can grab that automatically.
Thanks in advance!