Search Results Count

Chetan Sharma asked on March 3, 2014 06:27

Hi All,

I am using tab layout and Inside each tab layout I am using smart search filter which are configured to display results from specific indexes.

I have requirements. The header of tab must display no of results in that category

All(20) | Artcles(10) | Products(5) | Q & A (5)

Is there any way to achieve this?

Thanks, Chetan

Recent Answers


Roman Koníček answered on March 12, 2014 04:29

Hi,

Yes, it should be possible something like this, but you will have to create a custom webpart or customize the Tabs layout web part, you can find this web part in ~/CMSWebparts/Layouts/Tabs.ascx. Then in code behind you should fill the headers with the variables containg the number of results.

Best Regards, Roman Konicek

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.