Skip Navigation

[Resolved] Looking for miracle

This support ticket is created 5 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 15 replies, has 2 voices.

Last updated by Shane 5 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1399613
figure1.jpg
figure 2.jpg

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?

#1399831

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

#1399849

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 );

#1399873

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Luca,

I've enabled the private fields.

Thanks,
Shane

#1400121

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

#1400263

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)!

#1400787

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

#1400799

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!)

#1400827

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

#1401003

Well,
The text must be in the second link (the document), how can I make this?

#1401017

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

#1401031

I mean, in this kind of pages:
hidden link

#1401045

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2019-12-05 at 1.55.25 PM.png

Hi Luca,

Still not sure, Are you referring to the highlighted text ? See Screenshot.

Thanks,
Shane

#1401059

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 ?

#1401077

Maybe yes!