By goodghost on
My problem is to remove raquo sign, I mead "»" form breadcrubs. I tried in many different ways to do it but it always appears. str_replare doesn't work :/ I put a code like:
str_replace("»", " ", $breadcrumb);
but it also doesn't work. Does anyone can help me?
Regards,
David
Comments
The "correct" way would be
The "correct" way would be to override the theme function
theme_breadcrumbin your template:http://api.drupal.org/api/function/theme_breadcrumb/5
See also "Using Theme Override Functions": http://drupal.org/node/55126
thanx for the direction,
thanx for the direction, I've changed at theme.inc the raquo sing and it looks fine at the momment, thak you very much
http://dnawrot.proste.pl/drupal/?q=node/15
Wrong way
That's the wrong way. The right way is to override the function in template.php, as documented in the theme developer's guide. See http://drupal.org/node/77487 for an explanation.
I see
Now I get what u wrote, I've overrided a function wchich generates breadcrumbs in my template.php, what gave me untouched structure of the rest themes, thank you for help
Completely stumped
I have the following in my template.php
But when I access my site I get
I have no idea what I'm doing wrong...
I need to change the double arrow character in the breadcrumbs in order to comply with accessibility rules set down from on high.
i think you need to replace
i think you need to replace the "theme" with the name of your theme or "phptemplate".
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
anybody have any insight as
anybody have any insight as to why using str_replace() doesn't work here?