Copied to clipboard

Flag this post as spam?

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


  • Niklas Hjelm 104 posts 125 karma points
    Oct 25, 2014 @ 14:41
    Niklas Hjelm
    0

    Problem with use of umbracoNaviHide

    Hi everone,

    I'm having some problem using umbracoNaviHide with a script for examine

    ยจ if (!String.IsNullOrEmpty(searchString)) { var searchProvider = ExamineManager.Instance.DefaultSearchProvider.Name; var searchResults = ExamineManager.Instance.SearchProviderCollection["FullTextSearcher"].Search(searchString, true);

    foreach (var c in searchResults.Take(5)) {

    When I try to use where it doesn't work, I've also tried using if but cannot get i to work. How can I use umbracoNaviHide here so that I don't get the hidden pages?

    Thanks / Niklas

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Oct 25, 2014 @ 15:10
    Dennis Aaen
    0

    Hi Niklas,

    Perhaps, this post can be a help you to solve your issue with the umbracoNaviHide in the Examine.

    http://our.umbraco.org/forum/core/general/26650-How-does-umbracoNaviHide-effect-Search-Results

    Hope this can help you,

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft