Create a New Skin

New skins can easily be made and added to uPortal. Creating a new skin requires the following steps:

Step 1: Create a new skin folder

  • Create a new skin folder structure for the intended theme. For the default uPortal desktop theme, you will need to add a folder to uportal-war/src/main/webapp/media/skins/universality. You may wish to copy the existing uportal 4 skin to use as a starting point.

Step 2: Configure the skin includes

  • Your new skin directory should have a skin.xml file in its root.  For more information on configuring the list of JavaScript and CSS includes, please see Include JavaScript and CSS Resources.

Step 3: Register your skin

  • Add your skin to uportal-war/src/main/webapp/media/skins/universality/skinList.xml

Step 4: Rebuild/Redeploy uPortal

New skins can be deployed via the command:

ant clean deploy-war

Step 5: Restart Tomcat

Restart the tomcat container to activate the change.

Additional References

 

Having problems with these instructions?

Please send us feedback at uportal-user@lists.ja-sig.org

Add Feedback content box here.....