Answer the question
In order to leave comments, you need to log in
How to split search results into several infoblocks?
Hello! Guys, maybe someone knows. Standard search component search.title. On the results page - search.page, that's what it's called. The search is carried out by three information blocks (catalog, news, service). It's clear here.
On the search results output page, I need to split the output into three blocks. The results for the News infoblock, then the Catalog, and the results for the Service infoblock. Can anyone suggest how to do this? There was an idea in component.php to form an array grouped by the name of the infoblock for each found element .. but after all, as a result of the output, there can be both a section and the element itself. Any thoughts? Many thanks in advance for any insights.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question