Tuesday, November 27, 2012

Liferay opensocial gadgets

  • got the version bundled with Tomcat 6
http://www.liferay.com/downloads/liferay-portal/available-releases

Just run the startup.bat in the
liferay.../tomcat.../bin folder

It will open up the homepage after the startup-
http://localhost:8080/

you should the liferay screen

  • Next you can get the Shindig war
http://shindig.apache.org/download.html

unzip the war into the tomcat/webapps in liferay installation
then navigate to http://localhost:8080/shindig/samplecontainer/examples/commoncontainer/index.html

To get gadgets running inside Liferay, you need to get the marketplace portlet  from the liferay.com marketplace.
http://www.liferay.com/marketplace/download

you will have to use your liferay.com credentials to get this and then hit download, then install. Get the CE version.
restart tomcat.

http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen08-exporting-portal-applications-as-widgets-and-opensocial-gad-0

link to opesocial gadgets with LifeRay
http://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/lp-6-1-dgen11-opensocial-gadget-basics-0

jarring up with your specific jars
the opensocial code is in a jar called shindig-extras
unzip and replace with files you want and then jar it up again like-
jar -cvf ..\shindig-extras-2.0.2.jar features-extras org META-INF
name of the jar and followed by all the folders to go into the jar.