Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine >  displaying comment box if theres is not any thing to search View modes: 
User avatar
Member
Member
rajithasomarathna-yahoo - 11/13/2013 2:29:58 AM
   
displaying comment box if theres is not any thing to search
I have used smart search in portal conditons in kentico..I have set transformation to search result.thing is it is displaying comment box if theres is not any thing to search with term..When I type some phase which is nothing in the blogpost it gives the error "Sorry theres nothing to dispay" it is ok but it also display the comment box below..How to remove that when search results comes..

I have used

Smart search dialog -webpart used for catch the "phrase"
Smart search resuls- webpart use for display results
Comment view- webpart use for display comments

Thanks

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 11/13/2013 10:59:40 AM
   
RE: displaying comment box if theres is not any thing to search
Why do you have your comments view on your search page? If you want to search your blog posts you'd have a specific blog search results page with the needed webparts and properties set. I wouldn't put the search results on the blog page/template.

User avatar
Kentico Consulting
Kentico Consulting
Kentico_RichardS - 11/17/2013 2:34:33 AM
   
RE: displaying comment box if theres is not any thing to search
Hi,

Thank you for your message.

I would also like to ask why do you want to have comments on page when search results are not found? What would be the purpose of those comments?

Let me know for further assistance.

Kind regards,
Richard Sustek