Page 1 of 1

site search

Posted: Sun Dec 17, 2017 9:36 am
by eyecatcher
Heb site search op een website geplaatst. Het zoekresultaat moet op een andere pagina weergegeven worden. Wat moet er op de andere pagina geplaatst worden om het te kunnen laten weergeven. Kan ik ook alleen het zoekvenster (zonder search knop) gebruiken? (2 vragen dus). Alvast bedankt.

Re: site search

Posted: Sun Dec 17, 2017 12:24 pm
by Pablo
Zie de (Engelse) help voor instructies.

Re: site search

Posted: Sun Dec 17, 2017 12:50 pm
by eyecatcher
Die heb ik niet en in de nederlandse help is dat niet te vinden.

Re: site search

Posted: Sun Dec 17, 2017 1:57 pm
by Pablo
Helaas is er geen vertaling.
Show results in another page.
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').
- 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.
- Add a 'Site Search' object.
- Select 'Show results in another page'
- Click the 'Settings' and select the 'search_results' page.