Copied to clipboard

Flag this post as spam?

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


  • syn-rg 282 posts 425 karma points
    Apr 01, 2014 @ 08:12
    syn-rg
    0

    Exclude media items with property true/false

    I'd like to exclude media items if they have a property set to "true".

    I have an "unpublish" property I use to hide media items from media picker based macros, how can I incorporate this into the ezSearch.cshtml?

    Cheers, JV

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Apr 01, 2014 @ 11:29
    Alex Skrypnyk
    0

    Hi JV,

    You have to use this ezSearch settings window:

    http://screencast.com/t/SKHfMbS5dhQ

    Thanks, Alex

  • syn-rg 282 posts 425 karma points
    Apr 02, 2014 @ 02:26
    syn-rg
    0

    Hi Alex,

    Thanks for that but, I want to exclude any media items with the property "unpublish" set to true.

    I also need to exclude any content nodes with the "umbracoNaviHide" property set to true.

    The ezSearch only allows for one of those property to be entered into the "hideFromSearchField", it doesn't allow for multiple options to be entered as a string.

    I want to be able to exclude via more than one doctype or mediatype value.

    Cheers, JV

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Apr 02, 2014 @ 12:11
    Alex Skrypnyk
    0

    Hi JV,

    We didn't use ezSearch when we need some special logic. We just create our index and search, it's not hard.

    http://our.umbraco.org/documentation/Reference/Searching/Examine/quick-start http://our.umbraco.org/documentation/Reference/Searching/Examine/

    THanks, Alex

  • Harish 15 posts 74 karma points
    Nov 20, 2014 @ 17:15
    Harish
    0

    Hi 

    I am having umbraco 6.1.6 version, and insatalled ezsearch package.

    Can any one help me out,  to exclude folder names, .png, .jpg extensions etc from ezsearch result set.......

    i need to retrive content(pages) and some media type (like .doc, .pdf )  only.

    Now when I am searching I am getting pics, folder name, which I dont want to show it in ezsearch result.

    Thanks in advance.

Please Sign in or register to post replies

Write your reply to:

Draft