Hi guys
I'm trying to do something impossible, and obviously I'm not succeeding. I need your help.
So:
I created several search pages with views, when the result is returned it does not change the breadcrump.
How can I change the breadcrumb of figure 1 and make it like figure 2?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Luca,
Thank you for getting in touch.
I suspect that you will need to use some custom coding in order to resolve this.
Could you send me a link to the page ?
Also is the breadcrumb based on a filter ?
Thanks,
Shane
Hi,
This the VIEW main page: hidden link
This one of the items in the same VIEW: hidden link
You need login details, to view this pages... can you make this ticket private?
In the bradcrumbs that I use (unison) there are filers:
$return = apply_filters( 'fw_ext_breadcrumbs_build', $return );
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Luca,
I've enabled the private fields.
Thanks,
Shane
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Luca,
You will definitely need to write some custom code in order to achieve this.
It would require that you modify the existing breadcrumbs with some JS to insert the new search title.
Currently the breadcrumbs function by letting you know which page you are on. I would not suggest modifying the bread crumbs like this, Rather you can put a simple text that says. Searched For: ABC where ABC would be the item that you've searched for.
This can be done by using our View to pull the searched for value from the query string in the URL.
Please let me know if this is ok.
Thanks,
Shane
For me is ok, but... can you help me also with this?!
Maybe also a “you are in this VIEW” (linked to the VIEW search page) can help me (in different language, obviously)!
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Luca,
I'm a little confused by your previous message. What is it exactly that you want to display ?
Is it that you want to display what the user has searched for ? Or you want to display the name of the view on the page ?
If you want to display what the user has searched for then you can do this.
https://toolset.com/documentation/user-guides/views-shortcodes/#vf-214940
Thanks,
Shane
I need something with the user can easily identify in which search view they are, when they are in a document.
And, obviously, they can go back to this page.
In my example:
They start from this page: hidden link
And then open a document (found in the previous page) like this:
hidden link
In this page, I search a method from retourn in the first page (not the BACK button, please!)
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Luca,
If that is the case then you can just simply add a text in the view itself stating "You are current in X view".
Given that you are using multiple views then it should be ok to add the different text to each view itself.
Thanks,
Shane
Well,
The text must be in the second link (the document), how can I make this?
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Luca,
Im not sure what you mean.
"The text must be in the second link (the document), how can I make this?"
Could you provide a clear example of what exactly you what to achieve?
Thanks,
Shane
I mean, in this kind of pages:
hidden link
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Luca,
Still not sure, Are you referring to the highlighted text ? See Screenshot.
Thanks,
Shane
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Luca,
Confirming again, is it that when you're on this page that you've sent.
You want a history breadcrumb to navigate back to the search without clicking the back button ?