Keyword

adding extra fields to the search results

  • Filipe Goncalves
  • Filipe Goncalves's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #73104 by Filipe Goncalves
adding extra fields to the search results was created by Filipe Goncalves
Hello,

I need to add some extra fields to the search results. Does anyone know how to pass this fields to the results or at least the name of the html/php files that contain the joomla code for the search results?


Filipe

Please Log in or Create an account to join the conversation.

  • Filipe Goncalves
  • Filipe Goncalves's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #73105 by Filipe Goncalves
Replied by Filipe Goncalves on topic adding extra fields to the search results
just found the answer

adding the following code to components\com_search\views\search\tmpl\default_results.php (around line 36):
<div> <?php echo $result->extra_fields_search; ?> </div> works well.
now I just have to find a way to separate the different extra fields. because the search module is only giving me the extra_fields_search column and not the extra_fields. anyone know a way to do this?

I don't know if there is any other easy way

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum