1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Extend Search control

Extend Search control

8 posts, 0 answered
  1. Kamal
    Kamal avatar
    3 posts
    Registered:
    30 Jan 2011
    08 May 2011
    Link to this post
    Hello,

    I can not find the possibility to add more elements (fields/listboxes) to the existing search control. I'm building a website which has Cooking Recipes.

    - The recipes are news items.
    - These items are shown in the newslist.
    - Each item has tags like: 1) 4 persons, 2) 30 minutes, 3) dessert.
    - It is currently possible to search within these news items with 1 searchbox
    - I want to have 3 selectboxes (for example: 1) number of persons, 2) minutes, 3) type of dish) with each containing the values (tags) of all recipes (news items).
    - Under these 3 selectboxes there is the search button.
    - After clicking on this button I want to see the newslist being filtered after a page refresh.

    If someone can solve this, I'll be very grateful!...
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 May 2011
    Link to this post
    Hello Kamal,

    You can expose your search criteria as a custom dynamic fields. Then you can build a custom widget that will look into these fields and return the proper result.

    Please take a look at


    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Kamal
    Kamal avatar
    3 posts
    Registered:
    30 Jan 2011
    12 May 2011
    Link to this post
    Hello Ivan,

    Thank you for your reply. Do you perhaps have a sample?

    Thank you.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 May 2011
    Link to this post
    Hello Kamal,

    I do not have a sample for this specific requirement. It requires custom development.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    13 May 2011
    Link to this post
    Dear Ivan

    Maybe as a feature request the search could be extended to have mulitple indexes searched on some Dropdownbox settings (for starters)

    So one could create an search index for all pages under starting node help (if that works) and one for the whole site for example. This would enable the user quickly search help or rest of site.

    Markus
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 May 2011
    Link to this post
    Hi Markus,

    I logged your feature request for further implementations. 

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Kamal
    Kamal avatar
    3 posts
    Registered:
    30 Jan 2011
    13 May 2011
    Link to this post
    Hello Ivan

    I have an other solution.

    In the news section I have created 3 custom fields  which needs to be indexed.

    And I have created 3 static selectboxes (values corresponding to the custom fields). in the search template, The value of from each selected item will be combined and filled in the search textbox above the search button.  For example, the value of the search textbox will be filled in with "mega tower 1978".

    When this text is filled in the "Content" it works, but for some reason when using the 3 custom fields it doesn't find anything.

    Thanks,Kamal
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    16 May 2011
    Link to this post
    Hello ,

    Below are the fields that are included in the pipe

    • ID
    • Title
    • Content
    • Summary
    • ContentOwnerFirstName
    • ContentOwnerLastName
    • ContentOwnerEmail
    • PublicationDate
    • ContentCategories
    • ContentExpirationDate
    • ContentParentItemId
    • ContentLink
    • PipeId
    • ContentType
    • ItemHash
    • OriginalItemId
                             
                                       
                  

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
8 posts, 0 answered