How to change breadcrumb link?
Noddy - June 27, 2009 - 20:01
Hello!
In my breadcrumb-trail there is a link pointing to "news/archive" which is correct from site structure. But I'd like to change the link to "news" because that's my overview page for all news.
Anyone knows some code that changes a breadcrumb-link "news/archive" to just "news"?
Maybe via a preprocess function in template.php?
Thanks alot for any help!

=-=
it may be worth investigating the custom_breadcrumbs.module
Thank you for your quick
Thank you for your quick reply.
I'm using Custom Breadcrumbs already. The module changes the breadcrumbs based on node-type and works great but my problem (the "news/archive" link) is added to the breadcrumb by a view.
Maybe a redirect module would do the trick but I have too many modules already running on my page so if possible I'd like to avoid installing any further modules.
So my favorite solution would be just a little code that checks if the breadcrumb contains a link "news/archive" and if yes, just alter it to "news".
custom breadcrumbs 2.0
Hi Noddy,
You might try the 6.x-2.x-dev version of custom breadcrumbs (custom breadcrumbs 2.0). It has separate modules to provide breadcrumbs for nodes, views, taxonomy, and paths. So you can enable just the modules you need. It will provide the breadcrumb you are looking for.
Brilliant!
I've just installed your module on my page, it's really awesome and works like a charm, exactly what I was searching for since long. To me it closes a huge usability gap in Drupal: having full control over the breadcrumb.
Thank you for pointing me to your module and for all the time you spend creating it!