Copied to clipboard

Flag this post as spam?

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


  • Kris Janssen 210 posts 569 karma points c-trib
    Jan 26, 2010 @ 21:55
    Kris Janssen
    0

    XSLT search box on every page

    Hi,

    Short question, I'm not the XSLT wizard and I forgot how to make it so that the search box for XSLT search is available on every webpage of my site and yet clicking "search" would take you to the main "search" page instead of displaying the results on the spot...

  • Kris Janssen 210 posts 569 karma points c-trib
    Jan 26, 2010 @ 22:16
    Kris Janssen
    3

    Woops... turned out to be very simple, just make a form that will direct to the page implementing xslt search and appending ?search=searchterm...

    Should have thought of that before asking :)

  • Rupali 5 posts 24 karma points
    Jan 30, 2010 @ 12:14
    Rupali
    0

    Hi Kris,

    I am Rupali Facing same problem but i didn't get your answer so please can you refer me about that with details.

     

    Thanks In Advance,

    Rupali

  • Stephan Lonntorp 195 posts 212 karma points
    Jan 30, 2010 @ 16:23
    Stephan Lonntorp
    0

    Rupali, simple create a form on every page, with an action="" set to your search page, and method="GET", add a form field with id/name "search". Then when your form is submitted, it will simply call the XSLT search page, with your search parameters.

     

    //S

Please Sign in or register to post replies

Write your reply to:

Draft