Foros de discusión

Add social-activity to liferay 7 osgi portlet

thumbnail
Manuel Miklo, modificado hace 7 años.

Add social-activity to liferay 7 osgi portlet

New Member Mensajes: 20 Fecha de incorporación: 30/01/10 Mensajes recientes
Hello togheter,
i have a problem to add the social-activity to a portlet which i develop. I have created a liferay-social.xml in a foler, and created a SocialActivityInterpreter-class. But nothing is added in the controlpanal under Siteconfiguration->Social Activity. Which step i must do, to add the Social Activity to a portlet which is created as osgi-module?
I use Liferay 7.0 GA2 CE. Could someone explain short the steps which must be done to add the Social-Activity-Api?

When i add the activities in the liferay-social.xml in tomcat/webapps/Root/WEB-INF then the activities will be displayed. But when i create a lliferay-social.xml like here: https://github.com/liferay/liferay-portal/tree/master/modules/apps/collaboration/blogs/blogs-web/src/main/resources/META-INF/social nothing is there. Is it possible that i must configure this xml?


LG Manuel
thumbnail
Manuel Miklo, modificado hace 7 años.

RE: Add social-activity to liferay 7 osgi portlet

New Member Mensajes: 20 Fecha de incorporación: 30/01/10 Mensajes recientes
Hello togheter,
my last question: Is it poossible, that i must add something like this in the bnd.bnd file? For adding the resource-bundle i saw that i must add :

-plugin.bundle: com.liferay.ant.bnd.resource.bundle.ResourceBundleLoaderAnalyzerPlugin

and for the jsp-hook - plugin:

-plugin.jsp: com.liferay.ant.bnd.jsp.JspAnalyzerPlugin"

is it possible that i must add a linke like this to activate the socialactivities for a custom portlet?

Thanks and regards
Manuel
thumbnail
Manuel Miklo, modificado hace 7 años.

RE: Add social-activity to liferay 7 osgi portlet

New Member Mensajes: 20 Fecha de incorporación: 30/01/10 Mensajes recientes
This is so crazy.
I looked now, which bundle use this META-INF/social/liferay-social.xml too, to look if they are shown in de Social Activity under Configuration from a page. But for example the calendar have too this folder, and is not display in this section. Only the three Categories like the Blogs Entry, the Messageboard Message and the Wiki Page are displayed. I use the Liferay 7 GA1 as bundle in eclipse Mars. Is it possible, that this feature isnt developed at all in the GA1 Community Edition? Its only displayed when i put it in the WEB-INF/liferay-social.xml. What could be wrong?

Thanks and regards
Manuel
thumbnail
Bryan Cheung, modificado hace 6 años.

RE: Add social-activity to liferay 7 osgi portlet

Expert Mensajes: 373 Fecha de incorporación: 27/08/04 Mensajes recientes
Manuel, did you find an answer to your problem?
thumbnail
Beatriz Valdés Suárez, modificado hace 5 años.

RE: Add social-activity to liferay 7 osgi portlet

Junior Member Mensajes: 50 Fecha de incorporación: 31/03/14 Mensajes recientes
Hi, 
​​​​​​​Have you resolved this problem?