Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2008 at 19:49 UTC
Updated:
11 Jun 2008 at 10:29 UTC
More breadcrumb troubles...
I have a few pages in a single view using a wildcard
projects/%/support
projects/%/support/bugs
projects/%/support/features
When one of the last two are used, the breadcrumb will try to literally link to "projects/%/support" (actually the url is /projects/%25/support).
This strange occurrence is blocking me from fixing the breadcrumb problem completely by using the "menu breadcrumbs" module.
Any ideas on how to stop this oddness?
Comments
Comment #1
RoboPhred commentedI changed the urls so that all are on their own level:
projects/%/support
projects/%/bugs
projects/%/features
But the issue still occurs on the second two and not on the first. My guess is that the module seems to be considering all page views after the first one as children of the first.
Comment #2
RoboPhred commentedStarted bashing at url with a hammer and a mess of drupal_set_message
includes/views.inc
So far, I have not been able to find what function is being called by "$argument['handler']->uses_breadcrumb()", or why it is only true when $this->current_display != 'page' (it only shows up on the other page views with names like page_1, page_2, ...).
I have found, however, that the strpos does not seem to work. It will add the path to the breadcrumb information even when it has "%" in it.
Comment #3
RoboPhred commentedSeems to be reversed arguments in the strpos func. It should be
That solves the issue for me, but I would still like to know why the handler in $argument['handler'] only enables the breadcrumb on all page views other than the first created page view.
Comment #4
merlinofchaos commentedThis is fixed; I don't fully understand what the issue is on 'other than the first created page view' -- maybe it's that the breadcrumb in question is being handled by menu module in that case?
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
pasquallethe problem could be related to this bug
#170309: Regression: Breadcrumb doesn't always include all active items