TopNews portlet

TopNews portlet

About project

TopNews is a simple portlet for Liferay Portal which displays 3 links to some content (e.g. journal content articles, blog posts or external resources) illustrated by images. Links to resources and images can be configured in portlet preferences interface. The portlet is created with Liferay Plugins SDK, based on JQuery and available under OpenSource License.

Source code and war are available on sourceforge.net:

Download war

Download source

Project page on sourceforge.net

Source code is also available in svn:

svn checkout http://svn.code.sf.net/p/topnews/code/trunk/TopNews-portlet

Portlet deployment & configuration

1. Download war (or build it from sources).

2.Copy war to portal autodeploy directory (or deploy it manually).

3. Place portlet on the portal page.

4. Open "Preferences" interface, upload images and set links to content.

Build from sources

TopNews portlet is based on Liferay Plugins SDK and can be built using Eclipse IDE or Apache Ant. In order to build the portlet:

1. Install Apache Ant & Liferay Plugins SDK on your OS.

2. Download source code from sourceforge.net or import it from svn:

svn checkout http://svn.code.sf.net/p/topnews/code/trunk/TopNews-portlet

3. Unzip archive and copy sources to /portlets folder of Plugins SDK.

4. Go to project folder and run ant script which builds war:

ant war

Created war archive will be available in /dist folder of Plugins SDK.