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.
Hello,
Thanks for such nice module.
I have question/promlem. I want to add GET parameter to the url of the path for one breadcrumb link.
I do something like
browse-shop/all?field_material2_tid=%nid:field-material2:0:tid
but as a result I got this
/browse-shop/all%3Ffield_material2_tid%3D1966
Of course I can change %3F to "?" and %3D to "=" with jQuery, but maybe you have better solution?
Thank you!
Denis
Comment | File | Size | Author |
---|---|---|---|
#3 | path_breadcrumbs-arg_from_get-2140497-2.patch | 3.57 KB | skorzh |
Comments
Comment #1
kalabroThank you for your request, Denis!
Unfortunately I can't reproduce the bug on 7.x-3.0-beta6. Are you sure you are using latest release and there are no errors on admin/reports/status page?
Please, provide more info about Ctools, Token, Entity Token versions. Attach your PB export here.
You also can test latest dev release where GET params support was improved.
Comment #2
skorzhI created a patch that allows you to use arguments from GET params, for example you can use "node/add/article?og_group_ref=%node" path and at arguments tab you should to see "node" argument, and you can use this argument at breadcrumbs tab.
Comment #3
skorzhComment #4
SpleshkaComment #5
skorzhAny updates here?
Comment #6
SpleshkaLet me return from a vocation, i will review and commit this :)
Comment #7
skorzhI'm really looking forward this Ж)
Comment #8
kalabroLooks like feature request.
Comment #9
SpleshkaI've reviewed the patch, but I am not sure if it is stable. I mean that we with @kalabro not sure that nothing will break if we commit it. So we will take some time for manual testing.
Comment #10
milos.kroulik CreditAttribution: milos.kroulik commentedUnfortunately, patch from #3 no longer applies on version 3.0. The error from git apply was:
Comment #11
ArtuDrop CreditAttribution: ArtuDrop as a volunteer commentedHello,
Thank you for the module.
Now, I feel myself better with breadcrumbs.
I have the same issue.
GET parameters do not work in my case.
For example "booking-webform/event=%event"
where %event is Node ID.
Artu
Comment #12
edutrul CreditAttribution: edutrul as a volunteer and at Anexus commentedComment #13
liezie_D CreditAttribution: liezie_D commentedI have the same issue.
My path is: http://www.example.com/productSearch?searchTerm=blablabla
I created a new breadcrumb path on productSearch?searchTerm=%myterm
In the configuration %myterm is not accesible.
Also, when i surf to http://www.example.com/productSearch?searchTerm=blablabla the configured breadcrumb path is not shown. instead i just get "home".
How can i fix this?
UPDATE: i was able to trigger the breadcrumb by using path "productSearch". Which improves my situation. But I am still unable to use the info from the searchterm.