Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > need to search blog posts and listing it View modes: 
User avatar
Member
Member
rajithasomarathna-yahoo - 9/16/2013 2:39:50 AM
   
need to search blog posts and listing it
currently blog posted are listed according to category,tag,Archives. I placed a search section and load the search results to the "search result" web parts. it listed the search items but at the top of the page it shows the earlier selected blog posts and end of those it listed the search blog posts. i need to remove or hide previous selected blog posts and just only show the search result blog post in the same page

how can i solve out this


User avatar
Kentico Support
Kentico Support
kentico_romank - 9/16/2013 3:41:56 AM
   
RE:need to search blog posts and listing it
Hi,

You can set visibility of web part based on a different web part. You will need to set some value for the first web part which decides if the web part should be shown or hidden, then check this for this value in the second web part you want to show or hide. You can see the following KB article for more information - https://devnet.kentico.com/Knowledge-Base/Web-parts-Controls/How-to-Share-Information-Between-Web-Parts-or-Cont.aspx.

Another approach could be set the visiblity of the repeater based on Macro, for example you can try to place this macro to the visibility section of repeater
{%QueryString["searchmode"] == ""%}
more information about macros can be found here http://devnet.kentico.com/docs/devguide/index.html?types_of_macros.htm

Best Regards,
Roman Konicek