Copied to clipboard

Flag this post as spam?

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


  • Carlos 338 posts 472 karma points
    Dec 15, 2011 @ 20:52
    Carlos
    0

    Examine search in 4.5

    Are ther any good tutorials on how to use Examine in 4.5.  The tutorial video Umbraco provides by Warren Buckley uses the .cshtml file which from my understanding 4.5 can't use because it is Razor.  

    We can't upgrade quite yet to 4.7 so we would like the enable Examine to search our site.

     

    Also is there a way to make a filter search. Not a search box, but a group of droplist that filters by specified content?  

     

    THanks.

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Dec 16, 2011 @ 23:59
    Bo Damgaard Mortensen
    0

    Hi Carlos,

    You should be able to use Examine in a ASP.NET UserControl instead of a Razor file :-)

    As for the filtersearch, that's a bit more complex since you have to build up your query dynamically. I.e., you have to check on all the other dropdownlists whenever a dropdownlist changed event fires to see if they contain a text to include in your examine query.

    - Bo

  • Carlos 338 posts 472 karma points
    Dec 17, 2011 @ 00:01
    Carlos
    0

    So I have to use a .Net control and not straight XSLT?  

    I thought I found a small tutorial on using the XSLT extensions but I can not find it. I thought it was a video. But I may be wrong.

    Do you know can I do it with XSLT only and not build a .Net control?

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Dec 17, 2011 @ 00:14
    Bo Damgaard Mortensen
    0

    Hi Carlos,

    I found this page, but it seems like it only applies to version 4.7 (?): http://our.umbraco.org/wiki/reference/xslt/using-examine-in-xslt

    If this doesn't work, you should also be able to write your own XSLT extension to perform the Examine search :-)

    - Bo

  • Carlos 338 posts 472 karma points
    Dec 17, 2011 @ 00:15
    Carlos
    0

    Yeh I found that one too. I may try it out.  Thanks for the response.  .Net might be the more logical way to go.  I was just trying not to introduce extraneous files. But eh.

  • Bo Damgaard Mortensen 719 posts 1207 karma points
    Dec 17, 2011 @ 00:18
    Bo Damgaard Mortensen
    0

    Hi Carlos,

    All good :-) I'm afraid you have to use .NET for this one, but I might be wrong.

    - Bo

Please Sign in or register to post replies

Write your reply to:

Draft