<input type="text" id="keyword" name="q" value="My text" onblur="if(value=='') value = 'My text'" onfocus="if(value=='My text') value = ''"/>
And in line 330 replace this:
<input type="text" id="keyword" name="q" />
with this:
<input type="text" id="keyword" name="q" value="My text" onblur="if(value=='') value = 'My text'" onfocus="if(value=='My text') value = ''"/>
Replace "My text" with any text that fits you. Don't use ", ' and ; .
Confirm if it works for you.
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you
Hi Michal,
Thx for quick reply. But...:
- The file "ROOT/modules/mod_community_toolbar/tmpl/default.php" has only 260 lines?!
- "ROOT/templates/socialize/html/mod_community_toolbar": no such directory exists ?!
FYI: I am using the latest Jomsocial version.
1. Just look for this line: <input type="text" id="keyword" name="q" /> . This file should have 511 lines.
2. Oh, I wasn't clear enough - feel free to create those folders :) (there should be "html" folder, just create "mod_community_toolbar"
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you