Autonav - aliases not showing

Permalink
I've found other posts that mention this being fixed in the next version of concrete5. But I still have this issue with 5.5.2.1.

I am creating a footer navigation using aliases. The issue i'm having is the aliases will not show. Same issue happens if I manually use an autonav block.

<?php
$bt_main = BlockType::getByHandle('autonav');
$bt_main->controller->displayPages = 'custom';
$bt_main->controller->displayPagesCID = '179';  
$bt_main->controller->orderBy = 'display_asc';                  
$bt_main->controller->displaySubPages = 'all';                 
$bt_main->controller->displaySubPageLevels = 'all';    
$bt_main->render('view'); 
?>

tayharri
 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.