Tagline

Permalink Browser Info Environment
How do I need to change the header.php (or any other file??) so that it displays a full breadcrumb trail rather than just the current page name in the "tagline" section of the page?

Type: Discussion
Status: New
anchoredbutterfly
View Replies: View Best Answer
c5mix replied on at Permalink Best Answer Reply
c5mix
You'll need to edit the header.php file which is located at packages/theme_whitespace/themes/whitespace/elements/header.php. Look for this line:
<p><?php echo $c->getCollectionName() ?></p>

And replace it with this:
<p><?php
            $bt = BlockType::getByHandle('autonav');
            $bt->controller->displayPages = 'top';
            $bt->controller->orderBy = 'display_asc';                    
            $bt->controller->displaySubPages = 'relevant_breadcrumb';
            $bt->controller->displaySubPageLevels = 'all';                   
            $bt->render('templates/breadcrumb');
            ?></p>

Then, you might just need to style the breadcrumbs accordingly.
anchoredbutterfly replied on at Permalink Reply
anchoredbutterfly
Thank you :)
c5mix replied on at Permalink Reply
c5mix
You're welcome!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.