By adamcraig on
Does anyone know how to render breadcrumbs in a "nested" format?
I am trying to customize how breadcrumbs are displayed, and when I enter the following in my page.tpl.php file, Drupal overrides the CSS class that I am attempting to use.
<?php print $breadcrumb ?>
If it is possible to render breadcrumbs some other way, is it possible for them to be rendered somehow like this?
<ul>
<li><a href="link1">Breadcrumb1</a></li>
<li><a href="link2">Breadcrumb2</a></li>
<li><a href="link3">Breadcrumb3</a></li>
<li>Multiflex-3</li>
</ul>
Perhaps it is possible the Drupal is already rendering them in this way and I just need to customize some CSS code somewhere? If this is the case, where is that code located?
Thanks for your help.
Comments
This will do what you want.
Add this to your template.php file in your template directory.
You may need to create this file.
Change the (TemplateName) below to the name of your template so drupal will over write it.
Charlie
Thanks, Charlie!
Thanks, Charlie!