JSON search results Topic is solved

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
sandomatyas
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Mon Jun 19, 2017 10:57 am

JSON search results

Post by sandomatyas » Wed Dec 05, 2018 2:44 pm

I run 2 sites, one of them uses Joomla 3.8.10 and the other one has been recently updated to 3.9.1
I found that /component/search/?tmpl=raw&type=json&ordering=&searchphrase=all&searchword=test returns json formatted data with the older one but a simple html with the new one.
Anything changed with this whith the updates? How could I receive json data for search results?

Alejo
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 220
Joined: Fri Aug 19, 2005 12:28 pm
Contact:

Re: JSON search results

Post by Alejo » Wed Dec 05, 2018 2:47 pm

Is it possible this was achieved through template overrides on the old site? Check the folder for the template you are using and look for the /html/com_search folder there to see if there's an override for /search/default_results.php
https://www.jreviews.com/joomla directory, classifieds, and reviews system for Joomla and WordPress

sandomatyas
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Mon Jun 19, 2017 10:57 am

Re: JSON search results

Post by sandomatyas » Wed Dec 05, 2018 2:54 pm

Yep, sorry, false alarm. I found the override just when I sent the question. I'll contact the template developers.


Locked

Return to “Joomla! 3.x Coding”