Keyword

Search Result count

More
9 years 10 months ago #133709 by nimo
Search Result count was created by nimo
Hello, I'm trying to expose the total number of items for a searched term in Json.

Trying to modify /views/itemlist/view.json.php the search case.

Can anyone help with how to get the total number of results?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 10 months ago #133710 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Search Result count
There is a specific case for search results.
case 'search' :

You can print the count of the items there.
The proper way to handle it though would be through a K2 plugin and not hacking K2's core.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum