I got the xslt search to work in a fresh runway set up. I would like to set up the input box and the submit button on the main page, but if I do this and enter a search, the result will be displayed on the main page. Is there a way to place the results on a template based new page? How do I get about of doing that?
The easiest way to do this is by creating a new template, and creating a new document based on that template (let's call the template "SearchResults" and the new document "Search"). You would then post the search query to search.aspx. You can also do a GET instead of a POST, like so: search.aspx?search=someQuery.
Finally, you could use the altTemplate querystring to get the searchresults on some page without having to create a document, this would look like the GET request above, something like: myexistingpage.aspx?altTemplate=SearchResults&search=someQuery.
xsltsearch in runway
I got the xslt search to work in a fresh runway set up. I would like to set up the input box and the submit button on the main page, but if I do this and enter a search, the result will be displayed on the main page. Is there a way to place the results on a template based new page? How do I get about of doing that?
The easiest way to do this is by creating a new template, and creating a new document based on that template (let's call the template "SearchResults" and the new document "Search"). You would then post the search query to search.aspx. You can also do a GET instead of a POST, like so: search.aspx?search=someQuery.
Finally, you could use the altTemplate querystring to get the searchresults on some page without having to create a document, this would look like the GET request above, something like: myexistingpage.aspx?altTemplate=SearchResults&search=someQuery.
is working on a reply...