portlet - Link Liferay tag cloud links to a different page -
when putting liferay tag cloud portlet on page, clicking links in tag cloud render result in same page if , if have asset publisher portlet on same page.
what want when click link in tag cloud, should take me different page showing results, eg. search result page.
is there way of doing using standard components? or have write own tag cloud portlet support feature?
you dont have create new portlet. please follow these steps
1) using hooks, modify links generated in tag cloud portlet tags. instead of current layout, redirect designated page (for eg. if on /web/guest/tag page, tags link start /web/guest/tag?..... make /web/guest/search?....)
2) on search page, put asset publisher
so now, when click tag link, go search page, since page has asset publisher, reads parameters request url , session, , show results on search page.
Comments
Post a Comment