Hello, Great module :)

if use i18n module and add prefix language in path, this module don't work.
if the drupal is in a subfolder on server, this module don't work.

change this lines in module and solved problems exposed.

function breadcrumbs_by_path_page_alter(&$page) {
  // Start with getting the current URL
  - $uri = ltrim(request_uri(), '/');
  + $path = current_path();
  + $uri = drupal_get_path_alias($path);
  // build a breadcrumb trail and set the breadcrumb
  $trail = _breadcrumbs_by_path_build_trail($uri);
  drupal_set_breadcrumb($trail);
}

thanks for the module.

Comments

jide’s picture

I confirm, prefixed paths with i18n make the module fail. This fixes it.

rootical’s picture

Why not merging it to the module`s repository?

opdavies’s picture

Status: Active » Fixed

This has been committed to 7.x-1.x-dev.

Thanks,

Oliver :)

criacaosites’s picture

tank you very much for this tip

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.