Site Search feature... I normally use 'add results to another page'

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

Whenever I add the site search to my site, I always have the results go to another page.

Whenever I do a test search, the resulting page is blank. Not sure why it won't show any results. One of my questions is how does it know where on the page to show the results. And why would be it be blank?

I have enabled the 'site search index' for the site. Not sure what I am missing.
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

It is a simple yet complex thing if the settings get wrong but can you provide a demo project so we can see the settings.
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

wwonderfull wrote: Tue May 24, 2022 6:32 pm It is a simple yet complex thing if the settings get wrong but can you provide a demo project so we can see the settings.
Does WB have some sort of package-the-project-files for sharing feature? Or do I just send the entire the raw files for my entire site? (I kinda would rather not share that...)
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

kreemerz wrote: Tue May 24, 2022 7:49 pm
wwonderfull wrote: Tue May 24, 2022 6:32 pm It is a simple yet complex thing if the settings get wrong but can you provide a demo project so we can see the settings.
Does WB have some sort of package-the-project-files for sharing feature? Or do I just send the entire the raw files for my entire site? (I kinda would rather not share that...)
As I have tested the search index It works perfectly fine what are all the settings you have done any screen shots will also do.
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by Pablo »

For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

wwonderfull wrote: Tue May 24, 2022 8:00 pm
kreemerz wrote: Tue May 24, 2022 7:49 pm
wwonderfull wrote: Tue May 24, 2022 6:32 pm It is a simple yet complex thing if the settings get wrong but can you provide a demo project so we can see the settings.
Does WB have some sort of package-the-project-files for sharing feature? Or do I just send the entire the raw files for my entire site? (I kinda would rather not share that...)
As I have tested the search index It works perfectly fine what are all the settings you have done any screen shots will also do.
So you were able to enter keywords and it found results? on another page?
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

Pablo wrote: Tue May 24, 2022 8:02 pm For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Awesome. Thanks.
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

kreemerz wrote: Tue May 24, 2022 10:47 pm
Pablo wrote: Tue May 24, 2022 8:02 pm For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Awesome. Thanks.
Image

Tools>Search Index
You need to configure and enable this also
and also Double click on the Site Search Editbox you will see a panel like below

Image

Click on results and chose where you want the search result to show. Remember to publish the entire website or the site search won't have anything to search in a single page.
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

If you need more advanced and modern search boxes for website then you can show your support here https://www.wysiwygwebbuilder.com/forum ... hp?t=94900
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by Pablo »

See also this tutorial:
https://www.wysiwygwebbuilder.com/sitesearch.html
and the documentation in the help.
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

wwonderfull wrote: Wed May 25, 2022 5:32 am
kreemerz wrote: Tue May 24, 2022 10:47 pm
Pablo wrote: Tue May 24, 2022 8:02 pm For further details about how to share a project file, please see this FAQ:
https://www.wysiwygwebbuilder.com/forum ... 10&t=82134
Awesome. Thanks.
Image

Tools>Search Index
You need to configure and enable this also
and also Double click on the Site Search Editbox you will see a panel like below

Image

Click on results and chose where you want the search result to show. Remember to publish the entire website or the site search won't have anything to search in a single page.
I completely understand this.

But I'm trying to get the results to show in another page. So I select 'show results in other page'. When I click search to show results, the other page does appear. However there aren't any results showing. Can I have it show in a layer on another page?
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

At the bottom option it is written Show the result in another Page the last option click on that after that select your page.
You can show the result in a layer or an object but has to be in the same page where your have placed the searchbox.
You can not show the result in another page WITH objects inside that page.
Without seeing the proper settings hard to tell why the results are not coming so uploading demo would be nice for help.
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

wwonderfull wrote: Thu May 26, 2022 3:57 am At the bottom option it is written Show the result in another Page the last option click on that after that select your page.
You can show the result in a layer or an object but has to be in the same page where your have placed the searchbox.
You can not show the result in another page WITH objects inside that page.
Without seeing the proper settings hard to tell why the results are not coming so uploading demo would be nice for help.
Oh no... I was afraid that it had to be on the same page. bummer. Most websites don't have searches like that though. Strange.

hmm.... so there is no way to have the results on another page (but a page that has the same design/theme as the rest of the site?)

Was trying to use this: https://www.youtube.com/watch?v=o-6YjoHLEwM
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

Oh no... I was afraid that it had to be on the same page. bummer. Most websites don't have searches like that though. Strange.
hmm.... so there is no way to have the results on another page (but a page that has the same design/theme as the rest of the site?)
Was trying to use this: https://www.youtube.com/watch?v=o-6YjoHLEwM
There is a dedicated option to show results in an inline frame the 2nd option. As that is an old video more features had been added so the inline frame can now directly show the result no need for linking page.
User avatar
Pablo
 
Posts: 22422
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by Pablo »

But I'm trying to get the results to show in another page. So I select 'show results in other page'.
Did you read the instructions in the help?
alan_sh
 
 
Posts: 1747
Joined: Tue Jan 01, 2019 5:50 pm

Re: Site Search feature... I normally use 'add results to another page'

Post by alan_sh »

My sites (www.penninescouts.org.uk is an example) have the results on another page. Feel free to try it out and see.

I followed Pablo's instructions in the help and it worked OK.

Alan
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

wwonderfull wrote: Thu May 26, 2022 5:57 am
Oh no... I was afraid that it had to be on the same page. bummer. Most websites don't have searches like that though. Strange.
hmm.... so there is no way to have the results on another page (but a page that has the same design/theme as the rest of the site?)
Was trying to use this: https://www.youtube.com/watch?v=o-6YjoHLEwM
There is a dedicated option to show results in an inline frame the 2nd option. As that is an old video more features had been added so the inline frame can now directly show the result no need for linking page.
So, with inline, it doesn't have to be on the same page?
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

So, with inline, it doesn't have to be on the same page?
The searchbox by default does not have the option to add objects or inline frames from Another Page. In my responsive web design I preffer layout grid more than any inline frame. But many people use many methods to get the same result so totally depended on them.

@alan has a solution if you like. You can visit his website and see. Nice and classic. Looks beautiful also.
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

wwonderfull wrote: Thu May 26, 2022 7:26 pm
So, with inline, it doesn't have to be on the same page?
The searchbox by default does not have the option to add objects or inline frames from Another Page. In my responsive web design I prefer layout grid more than any inline frame. But many people use many methods to get the same result so totally depended on them.

@alan has a solution if you like. You can visit his website and see. Nice and classic. Looks beautiful also.
So is there any way to get the searchbox to show results on 'other page' that I can design or at least have it match the theme with the rest of the site?
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

Pablo wrote: Thu May 26, 2022 6:21 am
But I'm trying to get the results to show in another page. So I select 'show results in other page'.
Did you read the instructions in the help?
Yeah, I did. I know there is an option in the drop down menu (show results in other page)...

Problem with that is that I can't make that results page match the rest of the theme of my site. I'm not sure if I can edit that results page in WB to make it consistent with my design.
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

You can use a master frame or a master page on the search page to make it go inside the website meaning with the menu and footer.
If you need more advanced search boxes which is modern and fantastic, then see my post here https://www.wysiwygwebbuilder.com/forum ... hp?t=94900
User avatar
kreemerz
 
 
Posts: 90
Joined: Wed Apr 06, 2022 2:58 pm
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by kreemerz »

wwonderfull wrote: Fri May 27, 2022 4:42 am You can use a master frame or a master page on the search page to make it go inside the website meaning with the menu and footer.
If you need more advanced search boxes which is modern and fantastic, then see my post here https://www.wysiwygwebbuilder.com/forum ... hp?t=94900
When you say "search page", I'm not sure what you mean. I have the searchbox in the header of every page.

Will that work?

Are you saying to add the searchbox in the header using the master page/frame set up?
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

Yes there is no need to use so many search boxes. You can put the search box on master frame with a responsive design and then you can use a layout grid on the masterframe empty and invisible as it has not content so other pages wont have any problem. But when you search something you can target the result on that grid which will show in any page. You can also use a modal too. any page you search the master fram is showing the search result, as the search box is inside the master frame or master page. Just like a normal menu.

More about how to use and what is master frame.
https://www.wysiwygwebbuilder.com/master_frame.html
alan_sh
 
 
Posts: 1747
Joined: Tue Jan 01, 2019 5:50 pm

Re: Site Search feature... I normally use 'add results to another page'

Post by alan_sh »

This is all documented in the help (Press F1 -> Search -> put search in the search topic). I've followed the instructions and it works. I have the master page with the search box in it and I get the results to show on a separate page. I've copied the help text and added my comments in italics.

Show results in another page. This is the option I want. So follow the instructions below
You can use this option to display the results in another page. This can be useful if you want the results page to have the same design as the rest of your website.

Step 1
- Add a new page to the project (for example 'search_results'). So, create a new page. Add your master page here (but see notes at the end)
- Add an inline frame to the new page. This is where the results will be displayed.
- Add a 'Site Search' object.
- Select 'Show results in an Inline Frame'
- Click the drop-down box to the right of that and select the name of the Inline Frame
Note that now you will also be able to search on the result page.

Important: make sure that the Inline frame display an initial page. Some browsers will not display the page if there is no content in the inline frame.
For example: you can create a new internal page that displays some text like 'This area will display the search results'. Then set that page in the 'Link to' property of the Inline frame, so that page will initially be displayed.

Step 2
- Go back to the page you were working on. This is my Master Page
- Add a 'Site Search' object.
- Select 'Show results in another page'
- Click the 'Settings' and select the 'search_results' page.

----------------------
Notes. For my search results page (see step 1 above), I actually created a second Master Page (copied the original) and removed the Site Search object. I found that if I did a site search while on the search results page, it didn't work. No idea why, but I didn't feel it was needed there anyway.

This works OK for me - look at www.penninescouts.org.uk and you will see a site search on every page (apart from the site search results page).

Also, remember before you add this object to your page, make sure you have enabled 'Generate Search Index' in Menu->Tools->Search Index otherwise the search index will not be created and the search will not work! It says this in the help text!!!

Alan
wwonderfull
 
 
Posts: 1432
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Site Search feature... I normally use 'add results to another page'

Post by wwonderfull »

kreemerz wrote: Sat May 28, 2022 12:05 am
wwonderfull wrote: Fri May 27, 2022 4:42 am You can use a master frame or a master page on the search page to make it go inside the website meaning with the menu and footer.
If you need more advanced search boxes which is modern and fantastic, then see my post here https://www.wysiwygwebbuilder.com/forum ... hp?t=94900
When you say "search page", I'm not sure what you mean. I have the searchbox in the header of every page.

Will that work?

Are you saying to add the searchbox in the header using the master page/frame set up?
You can see the advanced use of site search on this website showcase thread https://www.wysiwygwebbuilder.com/forum ... 52#p474552
And it is responsive...
Post Reply