Table of Contents

Article

How to customize a portal navigation panel that includes only a single gadget

Summary

A developer asks: We have a portal for users in other areas of our institution only to provide them with information about existing cases.  These users do not enter new cases, so they do not have the NewTask gadget on the narrow column of their Work tab. 

The only gadget we want them to see is the Recent gadget. 

However, when the only gadget on that narrow column is Recent, then the gadget's graphics and title do not appear.  If the user opens a case and works on it, then the Case ID displays as it normally does with the gadget, but the graphics never appear.

Is this a bug, or is there a reason that the graphics do not display unless something else is there?

Suggested Approach

Explanation

This behavior is by design.

1. If only there is only one space, no space bar appears.

2. If a space contains only one gadget, the gadget frame is not displayed.

Workaround
  1. Save the Recent work gadget in your application RuleSet under a different name.
  2. Add a fieldset tag around it:

     <fieldset class='nav'>
          <legend>Recent</Legend>
            …….  
    </fieldset>

 

Published January 26, 2006 — Updated November 15, 2015

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.