Versions Compared

Key

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

Documentation provided by Lakshmi Maktala, Project Coordinator, from Oakland University

Step 1: Deploy a portlet

  • deploy a portlet by running the following command from your uPortal source directory (add your portlet war path file)
No Format
ant deployPortletApp -DportletApp=/path/to/yourProject.war

...

Table of Contents
maxLevel4
minLevel2

Select Portlet Type

  •  Define the portlet under Portlet Administration. Select "Register New Portlet",  click on the "Portlet" option and click the "Next" button at the bottom of the page.

...

  • Fill out any necessary Configurations on your new portlet, confirm that everything is set accordingly and click Save  (See images below)

 

...

Portlet Icon URL

The media/skins/icons directory (source tree:  uportal-war/src/main/webapp/media/skins/icons) is a common place to include additional icons. You should find a selection of icons there already.

It's also possible to switch the default icon. Currently the default is hard-coded in this file...

  • uportal-war/src/main//webapp/media/skins/common/javascript/uportal/up-layout-gallery.js

(but this setting should probably be refactored into a property somewhere.)

Add the new portlet

  • Add the new portlet to the a layout by clicking on "Customize"

...