Copied to clipboard

Flag this post as spam?

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


  • Raul Roa 18 posts 38 karma points
    Nov 19, 2009 @ 05:42
    Raul Roa
    0

    XSLT Search

    I'd like to know how to use this package beyond the example that comes with the documentation.

    For example:

    How can I use a custom search box as the input for the search and use the node that came with the package to display the results?

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Nov 19, 2009 @ 08:20
    Casey Neehouse
    2

    <form action="/search.aspx" method="post">
      <input type="text" name="search"/> <input type="submit" value="Search"/>
    </form>

    Of course, this must be outside of any other form tags.

  • Ricardo Gomes 22 posts 42 karma points
    Dec 07, 2009 @ 13:05
    Ricardo Gomes
    0

    hello,

    Casey, helpful answer!

    Is it possible to have a results page without the searchbox incorporated in it? I want to have a results page only with the results.

    thanks in advance,

    Ricardo

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Dec 07, 2009 @ 13:15
    Dirk De Grave
    1

    http://percipientstudios.com/media/4397/xsltsearch%202.7%20documentation.pdf

    Has documentation on how to hide the searchbox.

     

    Cheers,

    /Dirk

  • Ricardo Gomes 22 posts 42 karma points
    Dec 07, 2009 @ 13:28
    Ricardo Gomes
    0

    thank you Dirk,

    for some reason I forgot the 'hide' value from the parameter.

  • Ricardo Gomes 22 posts 42 karma points
    Dec 07, 2009 @ 18:37
    Ricardo Gomes
    0

    hello again,

    how can i overcome the problem of having to have the searchbox inside form's tags, so that I can put the searchbox inside an existent form's tag in a page different from the result?

    Can I use JQuery or some other approach?

    thanks in advance

    Ricardo

  • Ricardo Gomes 22 posts 42 karma points
    Dec 09, 2009 @ 22:52
    Ricardo Gomes
    0

    For the ones that are facing the problem of having to put the search text box and button inside another frame, I solved it by putting the form for the search text box and button before the main form, and with css I have put the elements in the correct position.

    I know this is not a solution, but it works...

  • Md Johirul Islam 37 posts 57 karma points
    Oct 12, 2011 @ 18:58
    Md Johirul Islam
    0

     

    I install XSLT package every thing working fine. But the problem is when i type into the search input box the result is show in my target page and near the input search box. Any one know why it happen. Please provide me the solution..... Thank you.......

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 12, 2011 @ 20:43
    Jan Skovgaard
    0

    Hi Md

    Could you be a bit more specific about what your problem is? :)

    When you search for something do you get any results on your result page or is it empty?

    /Jan

  • Md Johirul Islam 37 posts 57 karma points
    Oct 12, 2011 @ 21:36
    Md Johirul Islam
    0

    Thank, I get resul on my target search page and also on the top of my search box. my search box is in the header

    <form method="get" action="search.aspx?">
        <umbraco:Macro source="-1" searchFields="@nodeName,BodyText" previewFields="mainBodyText,metaDescription" searchBoxLocation="None" previewType="Beginning" resultsPerPage="10" previewChars="225" showPageRange="1" showOrdinals="1" showScores="0" showStats="0" Alias="XSLTsearch" runat="server" />
    </form>
Please Sign in or register to post replies

Write your reply to:

Draft