留言板

liferay-ui:social-activities tag

asif aftab,修改在9 年前。

liferay-ui:social-activities tag

Regular Member 帖子: 123 加入日期: 13-9-2 最近的帖子
Hi
I am working on a portlet in which we have to display the activity of friends. Suppose if user1 and user2 are now friends then we have to display that user1 and user2 are now friends. For this we are using <liferay-ui:social-activities> tag where and inside this tag we are passing the list object of SocialActivity table.
All above condition is working good but my requirement is user1 and user2 will behave as link, and if we click on user1 or user2 then we go to their home page. user1 and user2 value is the link of their home page.
I check that the code is coming from language.properties file, and the code is
activity-social-networking-summary-add-friend={0} and {1} are now friends.
so here {0} and {1} are coming from where I don't know and how make this one link.
I want to make this value as link, I did it directly putting them inside <a href> tag but not working.
To override this tag by using hook or ext, if any pointer then really helpful for me.
Liferay 6.1 ce
eclipse,
mysql
thanks
thumbnail
bhargavi m,修改在9 年前。

RE: liferay-ui:social-activities tag

Junior Member 帖子: 47 加入日期: 12-4-5 最近的帖子
go through the fallowing links this may solve issue

http://books.google.co.in/books?id=JYEtAgAAQBAJ&pg=PT419&lpg=PT419&dq=liferay-ui:social-activities+tag&source=bl&ots=P9NokhmqIY&sig=8X3O0C2GODRUyiXRqVmUqR3YDgY&hl=en&sa=X&ei=K4xnU4biLMTTrQfdkIDYCQ&ved=0CEYQ6AEwBA#v=onepage&q=liferay-ui%3Asocial-activities%20tag&f=false
https://www.liferay.com/community/wiki/-/wiki/Main/Adding+Social+Activity+Tracking+to+a+Portlet