Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Unipager not appearing on page when using Smart Search Results. View modes: 
User avatar
Member
Member
Boolean - 3/27/2013 5:05:25 PM
   
Unipager not appearing on page when using Smart Search Results.
Hi guys

I am using the smart search results webpart and wanted to connect a unipager to it.

It seems that once I connect the unipager to the smart search results (by assigning the search results webpart ID to the target control field of the unipager), the page appears to work just fine - the page size works correctly with the number I put in the unipager, I can go to page=3 and it shows the correct results. But the actual Unipager does not appear on the page. It's not in the HTML source code even though it seems to work like it is on the page. I can even put in content in the "Content Before" field and it seems to appear on the page.

I went and did a fresh install of 7.0.24 using the Corporate site template and tried adding it to the "/Special-Pages/Search" page and had the same problem. I compared my settings to that in the "/Examples/Listings-and-Viewers/Universal-Pager" page and they seem to be the same.

Is there a step I'm missing? Can anyone else replicate this?

User avatar
Kentico Support
Kentico Support
kentico_filipl - 3/28/2013 4:33:40 AM
   
RE:Unipager not appearing on page when using Smart Search Results.
Hi,

Smart search results web part has a pager assigned to it by default which is of type DataPager so there is no need to add Unipager to set the pager and its size. You can configure it in your Smart search results ->Page size property.

More details about these two controls can be found in documentation - UniPager, DataPager.

I hope this answer will make paging options clearer for you.

Best regards,
Filip Ligac

User avatar
Member
Member
Boolean - 3/28/2013 8:52:22 AM
   
RE:Unipager not appearing on page when using Smart Search Results.
I would like to use the unipager because I need to wrap some Before and After content that isn't available in the Smart Search Results webpart (I can only use the Before and After for the whole webpart, not just the pager).

According to this blog post by Jakub Oczko Kentico 7 should be able to support it.


User avatar
Kentico Support
Kentico Support
kentico_filipl - 3/29/2013 8:06:06 AM
   
RE:Unipager not appearing on page when using Smart Search Results.
Hi,

Regrettably, using UniPager with Smart search results web part seems to be a bug in Kentico CMS 7. I'm very sorry for this inconvenience. We will try to fix it in the next version or in the next hotfix package for this particular Kentico CMS version.

Best regards,
Filip Ligac

User avatar
Member
Member
Boolean - 4/1/2013 9:46:29 AM
   
RE:Unipager not appearing on page when using Smart Search Results.
Cheers, thanks mate.

Do I get a tree? =P

User avatar
Kentico Support
Kentico Support
kentico_filipl - 4/2/2013 8:40:25 AM
   
RE:Unipager not appearing on page when using Smart Search Results.
Hi,

Yes, you will get a tree. Anyway, this bug should be fixed by now so if you apply the latest hotfix 7.0.28, it will work.

Best regards,
Filip Ligac