Forum Discussion

Marianne80's avatar
7 years ago

Remove lihtium search interface, only search in the area or in or members

Hi there,

 

Am a UX and I am not a developer, we got over 90 products ( meaning over 90 community across 4 different countries using lithium).  Currently, when they are in discussion in one product, they got the lithium drop-down option to search " the whole community, this area, TKB all community, Blog all community and member search. We dont want the drop with all these options, it is confusing customers and getting hits on items on other products which do not give value. However, we would like to be able to keep " search members" for employees. Is this  possible or not? if so, how ? Would be super grateful for any help or tips.

 

)

 

 

 

Thank you :) 

 

 

  • Marianne80 - 

    Do you want to show only search member option and hide all others options?  If you are showing only one option(search member), I believe there is no need to show drop-down either. 

     

    This can be achieved using jQuery.  

    jQuery(".lia-search-form-granularity").find('[value!="user|user"]').wrap('<span>'); 

    The above code will hide all other option in search drop-down for all the users including admin, moderator,  etc. You can restrict it by checking the logged in user role.