Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi there,
Fantastic module, any ideas on how I can restyle the output of the search, currently when I do a search I get the following:
jthomas
Jonathan Thomas | 4*** | Ground Floor - mytown | Web Design
As you can see the separators are good but it would be nice to output this to a table, any ideas where/how I can do this?
Also, how do I include more fields in this output? Basically, I have around six profile fields which would be good to see in this search, the above only outputs four.
Many thanks,
Jonathan
Comments
Comment #1
James Marks CreditAttribution: James Marks commentedIt's technically possible to do but I don't know of a way you can override the output without hacking the module. The output is produced with search_excerpt() which is a string that includes the terms that were found. You'd have to hack the module to change the format of the data returned.
That is, again, controlled by the output of the search_excerpt() function and I don't know of any way to control how much text is returned.
You might take a look at the new development release. It doesn't provide you with any of the functionality you're asking for (sorry) but it does provide advanced profile search. You might like it.
James
Comment #2
jonthomas83 CreditAttribution: jonthomas83 commentedMany thanks James, I'll be sure to take a look. Appreciate your time and efforts.