Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • chris 69 posts 92 karma points
    Jun 22, 2010 @ 18:29
    chris
    0

    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?

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Jun 23, 2010 @ 01:51
    Sebastiaan Janssen
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft