Hi,
Does anyone know how to change the text inside the search-bar if you would like it to differ depending on the location of the user?
For example saying "Search this knowledgebase" or "Search this forum" instead of having the same text all over?
Like here in Lithium Community.
Is it possible without customization?
Solved! Go to Solution.
@HelgaMarieAuran :Check this Document for more information
If my post is helpful and answers your question, please give "Kudos" and "Accept it as a Solution."
Thanks & Regards,
Abhishek Illindra
This placeholder is bonded with text keys in the studio. You can change the placeholder from studio easily
Go to Studio > Text Editor > Search for text key > Search for knowledge base
form.SearchForm.field.messageSearchField.placeholder = Search This Knowledgebase
But it will change for all i.e. for Blogs, TKB, forum etc.
Using community settings it would not be possible to use a different placeholder for every page. But you can try it using jquery after page load.
$('#searchInput').attr("placeholder", "Search for Blogs");
Hi,
I've managed to change it on searching for members, but the other text key I find is generic. The same is used for overview, knowledgebase, blog and ideas.
Do you know what text keys to use for what area?
You can add @page: PageName after the text key.
form.SearchForm.field.messageSearchField.placeholder@page:TkbPage = Search This Knowledgebase
form.SearchForm.field.messageSearchField.placeholder@page:ForumPage= Search This Board
Ok, using settings will be good. Do you know how and where to change these?
Documentation: https://community.lithium.com/t5/Pages-and-layouts/Change-a-page-title/ta-p/72218
Hi again,
Is it also possible to change the text corresponding to the filter?
For example when changing to "Whole Community" or "All TKB's" the text in the searchbar changes?
@HelgaMarieAuran- Yes, it is possible. Lithium has text keys for all the text appearing in community except user added content.
You can view which text key is used for which string. After clicking on show text key, refresh the page where you want to see the filter text string and update as you want.
Studio - Text Editor - Advance - Show text key
Thank you. It seems though as text key is the same also when changing the pre-filter.
Thank you for your solution & steps, this worked perfectly for me!
Welcome to the Technology board!
Curious about our platform? Looking to connect on social technology? You've come to the right place!