To make overrides simpler, this PR integrates the searchtools no results info in searchtools layout. This message is part of the searchtools so it should be there.
As a PoC i applied this only in com_cache cache view.
I also changed the background color of the searchtools no results message to be a info, not a warning. This change is only is the "new" layout, the "old" stays the same.
Advantage
After this PR you can now change all the searchtools look (including no results info) with a simple layout override.
You retain the ability to change the no result text by passing the noResultsText variable to the layout.
Testing Instructions
Use latest staging
Apply patch
Go to "System -> Clear cache" (clear the cache if exists)
You will see a blue no results message.
Now to test B/C go to any other view (articles for instance) and search for something that does not return results (you will see the "old" yellow message)
Observations
B/C is preserved as the old method continues to work fine.
If this gets to RTC state i intend to make the changes needed in all the other views.
lol - pretend==> intend
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9738.