Closed (fixed)
Project:
Easy Breadcrumb
Version:
6.x-1.18
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 May 2012 at 17:59 UTC
Updated:
19 Jun 2014 at 23:32 UTC
Jump to comment: Most recent
Paths that are generated by the pathauto module don't render as links in the breadcrumb. This is presumably because in easy_breadcrumb.blocks.inc on line 81 drupal_valid_path() doesn't validate them as a path.
Comments
Comment #1
sonemonu commentedComment #2
sonemonu commentedComment #3
gippy commentedAre you sure that drupal_valid_path() will take a path alias?
If you change:
$valid_path = drupal_valid_path($segment_url);to:
$valid_path = drupal_valid_path(drupal_get_normal_path($segment_url));then it will return TRUE if $segment is a valid URL alias.
Here's an example that checks if a URL alias is valid:
http://drupalcontrib.org/api/drupal/drupal%21modules%21path%21path.admin...
Comment #4
sonemonu commentedDone, thank you gippy.
Comment #5
waqasnasir commentedI am having the same problem that pathauto links are displayed just as text. I tried to replace the line 81 with the mentioned code.
But now i am getting the error "Fatal error: Call to undefined function drupal_valid_path() in C:\xampp\htdocs\sites\all\modules\easy_breadcrumb\includes\easy_breadcrumb.blocks.inc on line 82"
What should i do, it is urgent for me. I have tried clear the cache, enable disable module and run cron ..
Any suggestion, i am a beginner in drupal.
Comment #6
waqasnasir commentedAnyone to help me , i am waiting for expert opinion ... please
Comment #6.0
waqasnasir commentedRemoved some possibly incorrect clarification.