By Lawrence on Thursday, 20 March 2014
Posted in General Issues
Likes 0
Views 615
Votes 0
I have two questions about the search bar in Easy Discuss.

1. Can I remove the words "Looking for something?" and just have the space blank? Where can this be done?

2. When users are NOT logged in, the search bar has a big button that "or Start A Discussion". Can I get this button removed?

I have attached an image that shows both of these issues.

Thanks for any help you can provide!
What I was doing was inserting in this code within the message board's CSS template:
div#discuss-wrapper .discuss-searchbar .btn-ask {
display: none;
}

However, that wasn't working. So what I did was search through the message board's template until I found the section that contained this:
div#discuss-wrapper .discuss-searchbar .btn-ask

A little underneath that, I found where it said:
 display: block;
}

and then I changed the word "block" to "none". That did the trick.
·
Friday, 21 March 2014 11:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Lawrence,

1.) You can remove that language from this file
JoomlaFolder\language\en-GB\en-GB.com_easydiscuss.ini
LINE 1083

COM_EASYDISCUSS_SEARCH_PLACEHOLDER="Looking for something?"

Replace with
COM_EASYDISCUSS_SEARCH_PLACEHOLDER=""


2.) If you wouldn't let user to ask the question, you can add this CSS hack in your template css file

div#discuss-wrapper .discuss-searchbar .btn-ask {
display: none;
}

If you allow the registered user only can create discussion post, unfortunately that was no option to remove this "Ask" button.
You can disable that ask button from your backend Easydiscuss setting, but it only disappear when user logged in, see my screenshot : http://screencast.com/t/hG2yZfzhht
Hope this help.
·
Friday, 21 March 2014 01:46
·
0 Likes
·
0 Votes
·
0 Comments
·
#1 worked for me. The "Looking for something?" words are now gone.

However, #2 did not work. The button still appears. Is there a specific place I am supposed to place this CSS hack? I put it in the CSS for the Easy Discuss' theme (Simplistic). It did not work, though.
·
Friday, 21 March 2014 02:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you please tell me specifically where to place the "CSS Hack" code? Thank you.
·
Friday, 21 March 2014 06:43
·
0 Likes
·
0 Votes
·
0 Comments
·
I was able to find it on my own and fix the issue. Thanks.
·
Friday, 21 March 2014 09:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Lawrence,

I'm really sorry that late reply to you,
Could you mind share how you fix your second requirement by your own? If another user needed also can refer on your solution here.
·
Friday, 21 March 2014 10:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Lawrence,

Thanks for take your time to share what you did on this. Glad to heard your issues resolved.
·
Friday, 21 March 2014 11:30
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post