Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Sayandip Ghosh
Search Portlet Results
October 10, 2012 4:42 AM

Sayandip Ghosh

Rank: New Member

Posts: 11

Join Date: June 23, 2011

Recent Posts


When I search using the search portlet the results show the web content containing the search term. When I click on them I'm not redirected to the page where the web content is placed but to the web content itself . I need to redirect the search result to the page where the web content is placed. I'm using LR 6.1.

Please help on this. Thanks in advance.

Stian Sigvartsen
RE: Search Portlet Results
October 10, 2012 4:55 AM

Stian Sigvartsen

Rank: Regular Member

Posts: 103

Join Date: August 27, 2010

Recent Posts

Hi Sayandip. This is quite straight forward to achieve in Liferay 6.1.
  1. The page you want search results to take the user to must publish the web content using the "Asset Publisher" portlet rather than "Web Content Display" portlet. Make this change if necessary.
  2. Enter the configuration of the Asset Publisher portlet instance, and tick the "Set as teh Default Asset Publisher for This Page" checkbox.
  3. Edit the webcontent, click "Display Page" tab, and select the page you want the webcontent to render by as prepared above.
  4. Enter the configuration for your Search portlet instance and tick the "View in context" checkbox.

Hopefully this meets your requirements?