Breadcrumbs in template
Permalink 2 users found helpful
How would I get a pagelist block to display the breadcrumb template in my theme?
Would it start with something like this but with an extra controller? :
Thanks for any help
Matt
Would it start with something like this but with an extra controller? :
<?php $bt = BlockType::getByHandle('autonav'); $bt->controller->orderBy = 'display_asc'; $bt->controller->displayPages = 'top'; $bt->controller->displaySubPages = 'all'; $bt->controller->displaySubPageLevels = 'all'; $bt->render('view'); ?>
Thanks for any help
Matt
There's a premade custom template for breadcrumbs already, just use something like this
That's great, that was all I needed, I don't like the way the default breadcrumb works so I made my own, that's all