Copied to clipboard

Flag this post as spam?

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


  • niccolo rossi 33 posts 53 karma points
    Oct 06, 2011 @ 10:34
    niccolo rossi
    0

    some question

    hi all,

    at first thank you for this project!! really easy and immediate!

    unfortunatly im quite new in umbraco so i dont understand some thing.

    1) on the top of the search box i've a label that repeat the terms searched. how can i remove it?

    2) Dictionary problem: i've translate all the text in the dictionary > XSLSearch but the text in the page remain in english. what can i verify?

    3) i've an homepage with a textbox and a search button that trought javascript redirect to the search page with ... http:/site/page.aspx?search=texttosearch. how can i force the search?

    thanks for all 

    nico

     

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Oct 06, 2011 @ 11:37
    Douglas Robar
    0

    Hi, Nico,

    1) Ooops! A bug in XSLTsearch 3.0.3. Sorry. --- find and delete three lines I accidentally left in for debugging... <xmp><xsl:...... /></xmp>

    I'll post an updated file as soon as I get back to the office.

     

    2) You need to use Umbraco's "Manage Hostnames" feature to tell Umbraco what language a page should be in. Once that's done the dictionary keys will be used automatically.

     

    3) That ought to work simply by going to the search page's url and include ?search=texttosearch on the querystring. Is http://site/page.aspx the search page with the XSLTsearch macro on it? That's the url you'd want to redirect to.

    cheers,
    doug. 

  • niccolo rossi 33 posts 53 karma points
    Oct 06, 2011 @ 11:45
    niccolo rossi
    0

    hi, 

    thank you for your response:)

    1) ok perfect i remove the xmp 

    2) sorry but i dont have understand:( 

    3) i try to explain it better:) 

    i've a page with a text box and a seach button. if the user add some text and click on search will be redirected to a page 

    http://site/search.aspx with ?search=textto search.

    in this page i want to put the "texttosearch" into the search textbox and directly dislay the result of the search. 

    thank you 

    nico

     

  • niccolo rossi 33 posts 53 karma points
    Oct 10, 2011 @ 15:00
    niccolo rossi
    0

    Please dont forget me!!!  its urgent!

    i need to resolve the point number 3

    i've a page with a text box and a seach button. if the user add some text and click on search will be redirected to a page 

    http://site/search.aspx with ?search=textto search.

    in this page i want to put the "texttosearch" into the search textbox and directly dislay the result of the search. 

    Please please help!

    thank you

    nico

     

  • niccolo rossi 33 posts 53 karma points
    Oct 10, 2011 @ 15:21
    niccolo rossi
    0

    i see that if i pass the query string called: "search=...." and everything ok!

     

    just need to know how to use the dictionary! thank you

    nico

     

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Oct 10, 2011 @ 20:54
    Douglas Robar
    0

    Hi, Nico,

    In order to get the dictionary keys working you'll need to do the following in umbraco...

    1. Go to Settings section of Umbraco...
    2. Expand and then create a new language (such as Danish or French)
    3. Expand the Dictionary tree and add a translation for all the XSLTsearch fields
    4. In the Content section of Umbraco... 
    5. Right-click on the homepage of your site and select the 'manage hostnames' menu
    6. Select your language from the list and enter the site's domain (or enter any unique text if your site doesn't require a specific domain... the field simply can't be empty and it must be unique among all the language/domain combinations for your various sites) 

     

    Enjoy your translated search!

    For more detailed information check out these resources:

    cheers,
    doug. 

Please Sign in or register to post replies

Write your reply to:

Draft