Breadcrumbs no longer working after updating from 5.7.5.13 to 8.2.1
Permalink
So after updating a site from 5.7.5.13 to 8.2.1 this no longer works:
It returns absolutely nothing on the page. Has anything changed? Are breadcrumbs not displayed this way anymore?
<?php $bt = BlockType::getByHandle('autonav'); $bt->controller->displayPages = 'top'; // 'top', 'above', 'below', 'second_level', 'third_level', 'custom', 'current' $bt->controller->displayPagesCID = ''; // if display pages is set ‘custom’ $bt->controller->orderBy = 'display_asc'; // 'chrono_desc', 'chrono_asc', 'alpha_asc', 'alpha_desc', 'display_desc','display_asc' $bt->controller->displaySubPages = 'relevant_breadcrumb'; //none', 'all, 'relevant_breadcrumb', 'relevant' $bt->controller->displaySubPageLevels = 'all'; // 'enough', 'enough_plus1', 'all', 'custom' $bt->controller->displaySubPageLevelsNum = ''; // if displaySubPages is set 'custom' $bt->render('templates/breadcrumb'); // for template 'templates/template_name'; ?>
It returns absolutely nothing on the page. Has anything changed? Are breadcrumbs not displayed this way anymore?
Do you get any errors? Did you edit the template?