Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is my example URL /buy/coins/non-circulated/1954
/buy is my main Views page without using %.
coins, non-circulated, and 1954 are my views arguments
it is returning this format - Home » Buy » Buy » Buy » 1954
instead of this one - Home » Buy » Coins » Non Circulated » 1954
This is the code that creates the segment title.
// File includes/easy_breadcrumb.blocks.inc
function _easy_breadcrumb_obtain_segment_title($normal_path,
$valid_path, $segment_text) {
// if path is valid then try to obtain the title from the menu router (if available).
if ($valid_path) {
$router_item = menu_get_item($normal_path);
$title = $router_item['title'];
}
// just infer the title from the segment text.
if (!isset($title) || $title === '') {
$title = _easy_breadcrumb_normalize_text($segment_text);
}
return $title;
}
Commenting out $title = $router_item['title']; will work.
I guess we just need extra condition for this part?
Comments
Comment #1
Greg BoggsHrm. This is a tricky one because it would have to read arguments to the view. I'll give it a shot tomorrow...
Comment #2
sonemonu CreditAttribution: sonemonu commentedThis will be probably resolved in the next release, coming this weekend on the next week. Thanks.
Comment #3
sonemonu CreditAttribution: sonemonu commentedHey Mark,
Could you please check if this works fine for you in the 7.x-2.10 released on 2014-Jun-13?
Thanks!
Comment #4
sonemonu CreditAttribution: sonemonu commented