Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

How to clear text from people search box on mouse click

12 years 5 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

Hi,

I have followed this thread to add text to the people search box:

www.jomsocial.com/forum/socialize-templa...he-community-toolbar

But need the text to disappear when a user clicks in the search box (as most search boxes do). At the moment the user has to highlight the text to delete it first.

How do we add this process?

Mel

12 years 5 months ago
  • Chris's Avatar
  • Chris
  • Visitor
  • Thank you received: 0
Licenses:

hi Melanie.

Well, it's kinda not possible out of the box, so I'll leave this thread open for now, maybe someone from the developers will be able to help you(or maybe Michal?:)), but I can't promise anything since such customization is beyond our support scope.

12 years 5 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

Hi Chris

thanks for reply.

Maybe this needs to be added as an update? as until I read that earlier thread I posted, i wasn't sure what that search box was for - as tried searching thinking it retrieved any content (and when it wasn't returning anything, just assumed it didn't work properly).

Only now I realise its just for finding people - hence it needing the Search for people ... text to explain what its for. But to finish it off properly, it also needs to clear the box automatically when you go to enter your search term, as again, people accidentally do the search leaving some of the 'Search for people' text behind returning no results.

Mel

12 years 5 months ago
  • Melanie's Avatar
    Topic Author
  • Melanie
  • Offline
  • Fresh Boarder
  • Posts: 94
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

Hi Chris,

Michal had provided the complete solution in his reply to the thread I pasted. My mistake was changing the text, when I re-used Michal's code it worked perfectly.

My apologies and thanks to Michal :)

Mel

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW