Forum Discussion

FranzG's avatar
FranzG
Genius
11 years ago

List of available parameters for common.widget.search-form component?

Hi,   Anybody know if there is documentation or a list of the parameters available for passing to the default common.widget.search-form component?   I was only able to locate these: hideGranular...
  • PaoloT's avatar
    11 years ago

    Hi,

     

    the standard search widget usually searches results based on the node it's being rendered in. So - if it's rendered on the community page, it will search at community level. If it's rendered on a category page , it will search within that category and on a blog page within that blog etc ...

     

    One configuration element that can be used is 

     

    defaultToCommunity=true

    To default the search on all the community. I don't think at the moment there is configuration available to force a search within a particular board - this would have to be a customization possibly. For example, look at the URL parameters available in the search result page http://community.lithium.com/t5/forums/searchpage/tab/message?location=board%3Alithiumblog&q=search&search_type=thread&filter=labels%2Clocation (this is a search for a term on the Lithium's views blog) - you may be able to construct a widget based on that.

     

    Alternatively - you can get in touch with Lithium Professional Services to help you in scoping and delivering this.

     

    Thanks,