Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

FacebookPortletis a simple GenericPortlet with JSP views. For simplicity's sake, the portlet uses the same jdbc context as uPortal. To accomplish this, you need to make that context available to the entire tomcat. See the uPortal wiki for instructions on how to do this.

You will then need to create 2 tables in your PortalDb database (if you use MySQL, just execute the following):

...

Once you get your keys, change the values in edu.uci.vcsa.portal.portlets.FacebookPortlet.

Almost done! You will want to update the URLs for the icons in the JSP files. The icons are located in a zip file in the main directory of the portlet. Unzip them onto your web server and edit the image URLs in the appropriate JSPs in /webpages/WEB-INF/jsp/.

Run ant deploy to compile and package.

Deploy to uPortal like any other portlet, ant deployPortletApp -DportletApp=/path/to/dir/build/Facebook.war. Use the Channel Manager to add a new Portlet with ID: Facebook.FacebookPortlet.

 Screenshots

Before Logging In 

...