Skip Navigation

[Resolved] How to show the search result on another page

This thread is resolved. Here is a description of the problem and solution.

Problem:

How to show the search form and search result on different pages.

Solution:

You can follow our document to setup the pages and view block:

Relevant Documentation:

https://toolset.com/course-lesson/displaying-search-results-on-a-different-page/

This support ticket is created 3 years, 1 month 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 11 replies, has 2 voices.

Last updated by feikoB 3 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#2252079
Screenshot 2021-12-24 at 11.51.25.png

Tell us what you are trying to do?
We are trying to define the search option on the homepage and show the results on another page.

Is there any documentation that you are following?
Yes, we followed https://toolset.com/course-lesson/displaying-search-results-on-a-different-page/ but the option "On another page" is not showing any pages.

What is the link to your site?
hidden link

#2253245
search.JPG

Hello,

You are following the correct document, you just need to input the page title into the search box, see my screenshot search.JPG

#2253673

Hi Luo,

Thank you for the indication, indeed after entering the page name I could choose the correct page.
But, now I encounter another problem with the same setup.
I have created a search result page, named "search" with the search & result view
I have created a home page where I place the created view but only the SEARCH fields, then I choose from here the SEARCH page to display the result.
When I try this i get a "This page doesn't seem to exist." error,
The correct page has the following structure: "/search/?wpv-property-offer=....."
But the error page has the structure : "/?city=search&wpv_view_count=3083&wpv-property-offer=....."

Not sure why this is not working.

Thank you for any help.

You can see the situation on:
hidden link

#2253827

I have tried it again in my localhost with a fresh WP installation + the latest version of Toolset plugins, it works fine.

The problem you mentioned above is abnormal, please try these:

1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to WordPress default theme 2021, deactivate all custom PHP/JS code snippets, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, you can put the package files in your own google drive disk, share the link only, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#2254181

..

#2254481

I have requested the access to the google drive disk link, please grant it, then update this thread. thanks

#2254753

Access granted √

#2255091

I am downloading the files, will update here if find anything

#2255101

The file you provided above is not valid, I get Mysql errors when import it, please follow below documents to export your website database:
https://toolset.com/faq/provide-supporters-copy-site/
hidden link

Private message box enabled again

#2255741

I am downloading the 2.2G files, will update here if find anything

#2255769

Thanks for the details, the problem is in your website permalink settings, you are using customized permalink settings here:
Dashboard-> Settings-> Permalink

You can switch to other default option, for example: "Post name", save and test again

#2255839

My issue is resolved now. Thank you!