Is there a way to get breadcrumbs working with Storm? For example, when I'm looking at a task or ticket for a project, can there be a breadcrumb like so:
Home > Projects > My Specific Project > Tasks > My Specific Task
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | stormtask-6.x-dev-breadcrumb.patch | 1.94 KB | Yoran |
Comments
Comment #1
Roberto Gerola commentedI've implemented this :
Storm > Projects > My Specific Project > Tasks
Comment #3
Yoran commentedSorry to re-open this but I still have issue with task breadcrumb.
When I'm viewing a task (or editing it), I just have :
Storm > tasks
When I had a look at the code, I found 2 issues :
1. a first trail is set in stormtask_form which is just using $_GET['project_nid'] which is only set when creating a new task.
2. there is no project part in the trail set in stormtask_view
I fixed this by adding this function :
And replacing both breadcrumb building by a call to it.
This way it works in every situation.
Comment #4
juliangb commentedPlease could you post this as a patch? (http://drupal.org/patch/create)
Also, it will need to be against the current -dev version.
Comment #5
Yoran commentedHere it is
Comment #7
juliangb commentedComment #8
FuXXz commented#5: stormtask-6.x-dev-breadcrumb.patch queued for re-testing.
Comment #10
rfay#5: stormtask-6.x-dev-breadcrumb.patch queued for re-testing.
Comment #12
nancydruI'd love to see "Home" added to the breadcrumbs.