Copied to clipboard

Flag this post as spam?

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


  • Raheel 62 posts 81 karma points
    Jul 12, 2011 @ 01:01
    Raheel
    0

    XSLTsearch results on different page.

    Hey...

    I have installed XSLTsearch on a site and using <form runat="server"> MACRO HERE </form>

    When I search for anything, it displays the results on the same page.

    Is there anyway to display all search results into maybe a page called results.aspx?

     

    Please advice - Also, I am not a pro in this so please be kind : )

  • FreedomChicken 12 posts 33 karma points
    Jul 12, 2011 @ 03:10
    FreedomChicken
    0

    You can create a form on a different page that redirects and sends the search information via query string to the search page which contains the macro.

  • sheyman 1 post 21 karma points
    Jul 12, 2011 @ 03:40
    sheyman
    0

    Hi, Please can you give a clear example, I'm having the same issue too.

     

    thanks

  • Raheel 62 posts 81 karma points
    Jul 12, 2011 @ 04:06
    Raheel
    0

    I know what it means ...

    "You can create a form on a different page that redirects and sends the search information via query string to the search page which contains the macro."

    But I have no idea on how to make it work.

    ---

    So pretty much create a new page called Search.aspx
    Put the macro on that...

    Which will do the same thing as, search and display on the same page

    ---

    Step two of this would be to create a new Form... which is what we need to use to put on the templates.
    When information is entered into this, it needs to action to send the data to the Search.aspx form page.

    ---

    I can create the form things, but how do I make the form submit the information to Search.aspx which has the Macro XSLT Search Form.

     

    Thanks 

  • sravani 50 posts 70 karma points
    Jul 12, 2011 @ 09:47
    sravani
    0

    Hi,

    you can create one searchresult page and you have to insert macro on  that page .

    this is the main page  <form action="searchresultpage.aspx" method="post">

            <input type="text" class="searchbox" name="Search" value="" title="Search" />
            <input type="image" src="/images/Search_icon.png" class="searchbox_submit" value="" />
            </form>

    Searchresult.aspx

    <insert macro on searchresult page>

    *note in the form tag Name must be Search only...

    cheers,

    sravani.

     

     

  • Daniel Bardi 927 posts 2562 karma points
    Jul 12, 2011 @ 10:12
    Daniel Bardi
    0

    Place macro on a search results page..

    On a search form, name the search textbox "search"  (can be anywhere on your site) and set the action param to the search results page.

    Done!

Please Sign in or register to post replies

Write your reply to:

Draft