Skip Navigation

[Resolved] Making a custom search just don't work

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by Minesh 4 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2751717

Dear Toolset -team,
dear Minesh or colleague

For over two complete working days (8 working hours) and lots of thinking for days I am trying - in vain - to make a search result page. And it is not working at all, despite your documentation and instruction vid (hidden link).

I am very desperate because I have deadlines to meet and I am exhausted and stressed as I cannot do what I want.

Please help!!!

0. credentials
You have full admin right
loginpage: hidden link
username: toolset
passw: ##gamesetmatch!

1. Goal
What I want is a working search page, finding postal codes of entries that I have imported,
I made 2 pages:
hidden link
hidden link

Neither are working 🙁

2. What doesn't work e.d. What I cannot fix
- I cannot make a view with search page and search results
Website visitors should be able to search on postal codes (like 1309) and get as a search result on entries with this postal codes.
- I tried it by classic editor, by Divi editor and by the Gutenberg editor. Nothing happens.
- I tried to edit a view, but the design loop is malfunctioning
- I don't knwo how to use the loop editor
- And I am even not sure if the single line of the required fields of 'postal codes' are imported correctly.

I am dead sure I make a mistake - or likely more than 1 - and I am out of ideas. I have put hours in this thing and need your help!!
Please do not answer briefly like "i am sorry I cannot help, that would frustrate me.

I beg you, please help, much appreciated!

Eric

#2754167

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I see on view's listing page you have only one view and that is also a legacy view:
- hidden link

When I edit that view - I see only one search filter is added and there is no "Loop Output" configured:
- hidden link

Let's start with basic, if you want to configure custom search with blocks you should try to follow the following Doc:
- https://toolset.com/course-lesson/creating-a-custom-search/

If you want to use classic views, you should try to follow the following Doc:
- https://toolset.com/documentation/legacy-features/views-plugin/front-page-filters/

Can you please try to follow above doc and tell me where exactly you got stuck and I would be happy to assist you further.

#2756325
gv_cvl_adressen.png

Dear Minish,

Thanks for your reply. I am afraid I need your help.

I permanently deleted all views and search page(s) and started all over from scratch. Before I started, I saw the video and links you shared with me. Thank you for these links..

As the Divi Visual Builder and Gutenberg editor didn't work with Toolset Views, I tried to create a view with the classic editor, following your instructions on
https://toolset.com/documentation/legacy-features/views-plugin/front-page-filters/#custom-search-view

It's very complicated for me to work with all these codes. I managed to make a view, but it is not right entirely.
On 'Search page 102' you see the result. If you search for '1309' you get a raw result. I you search for 3230 you see nothing (but you should get a result)

1. What I want is that the name (for instance 'Centrum voor Levensvragen Flevoland') is a working link to the details. How can I do this? (the field name is 'Naam GV')
2. How can I style the layout much much better? Should I add a (new) content template?
3. How can I hide all search results before a vistor enters a 'postcode'?
4. A last question for now is that the 'postcodes' (like 1309) is a repeating field.
But all postcodes have been imported in one single field. And then the search is not working (see attached screen shot). How can I correct this?

Thank you for your kind assistance, Minesh.

Eric

#2756341
excel.png
group-field_postcodegebieden.png

Dear Minesh,

Additional about my last question:
4. A last question for now is that the 'postcodes' (like 1309) is a repeating field.
But all postcodes have been imported in one single field. And then the search is not working (see attached screen shot). How can I correct this?

I want to import from a Excel file (see attach) into the right single line field called 'Postcodegebieden'.
How can I import it in such a way, that all 'postcode' will be in separate fields with the field name 'Postcodegebieden'.
Because now all postcodes are wrongly imported, and cannot be found.

#2756358

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - as per our support policy, we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery for the original issue reported with the ticket.

You can decide with what question we should move forward and once resolve it we can move to next question and I will split the ticket with your new question. I hope this makes sense.

With this ticket we will continue with your 1st question:

1. What I want is that the name (for instance 'Centrum voor Levensvragen Flevoland') is a working link to the details. How can I do this? (the field name is 'Naam GV')

===>
To link the file you should add the anchor tag.

For example:

<a href="[wpv-post-url]"> [types field="naam-gv" output="raw"][/types] </a>

Where:
- Please replace the filed slug "naam-gv" with original field slug if required.

#2756516

Thank you Minesh,

Could you go on (within a new ticket) about the import issue

A last question for now is that the 'postcodes' (like 1309) is a repeating field.
But all postcodes have been imported in one single field. And then the search is not working (see attached screen shot). How can I correct this?

New threads created by Minesh and linked to this one are listed below:

https://toolset.com/forums/topic/split-making-a-custom-search-just-dont-work-import-issue/

#2756538

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok great - you are welcome to mark resolve this ticket.

I've split the ticket with your new question and will follow up with the following split ticket.
- https://toolset.com/forums/topic/split-making-a-custom-search-just-dont-work-import-issue/