We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28563
    • 35 Posts
    I think this is a stupid question, but I am compelled to ask anyway -- Can flexSearchForm or HyperFlex (the modded version) search within a folder, and only that folder’s children? I saw this intimated to in the HyperFlex search form comments, but I didn’t see it as a snippet option - the same goes for flexSearchForm.....I have an area of my website that I want to search, and I want to exclude all other documents/areas from this particular search.....

    Steve
    • I am aware of a hacked version of flexsearchform with this capability, but I am unable to locate it at the moment. I will look again later tonight and post it as an alternate version in the repository when I find it.
        • 28563
        • 35 Posts
        Great! I look forward to seeing it...
          • 7923
          • 4,213 Posts
          This HyperFlexSearchForm snippet seems to have following parameters :
             // $parentSearch [ csv ]
             // Allow parent categories to be searched in
             $parentSearch = '';
             
             // $parentSearchMode [ 0 | 1 ]
             // Indicates whether we exclude or include the parent categories list
             $parentSearchMode = 1;
             
             // $documentgroupSearch [ csv ]
             // Allow searching by documentgroups
             $documentgroupSearch = '';
           
             // $documentgroupSearchMode [ 0 | 1 ]
             // Indicates whether we exclude or include the documentgroups list
             $documentgroupSearchMode = 1;
          
             // $webgroupSearch [ csv ]
             // Allow searching by webgroups
             $webgroupSearch = '';
           
             // $webgroupSearchMode [ 0 | 1 ]
             // Indicates whether we exclude or include the webgroups list
             $webgroupSearchMode = 1;


          EDIT: Also check here


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 28563
            • 35 Posts
            Thanks - I’ll give hyperFlex a try - I saw the parent search parameter, but it (to me) was unclear about how this was used, or what it meant. I wish snippets had better documentation.

            S