Hello! Guys, maybe someone knows. Standard search component search.title. On the results page - search.page, like so it is called. The search is performed in three iblock (catalog, news, services). Here it is clear.
On the page of search results I need to split the output to three blocks. Results news information block, then the Directory and the results of the InfoBlock Service. Can someone tell me how to do it? The idea was to component.php to create an array with the group name of the information block for each found item.. but at the end, the issue may be and section, and the element itself. What are your thoughts? Thanks in advance for any leads.