This documentation relates to uPortal 4.0
If you are using a different version, please click on "Click for all versions" on the left side of the page and select the relevant version.

Page History

Versions Compared

Key

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

...

Step 3. (Optional) Show Login Form for Guest User

Note
titleIf using import scripts

There seems to be a bug in the import script that won't allow you to import the channel if the comment below is left in place in uportal-war/src/main/data/quickstart_entities/fragment-layout/guest.layout.xml (https://issues.jasig.org/browse/UP-3176)

Code Block
<!--Uncomment to use local login <channel fname="login" unremovable="false" hidden="false" immutable="false"/>-->

In order to show the login form for the guest user layout, go to uportal-war/src/main/data/quickstart_entities/fragment-layout/guest-lo.fragment-layout.xml file and add the local login form to the welcome tab. Your resulting guest-lo.fragment-layout.xml file should look like the code segment below (adjust the id values as appropriate so the numeric value ignoring the leading letter is unique within the file):

Code Block
titleuportal-war/src/main/data/defaultquickstart_entities/fragment-layout/guest-lo.fragment-layout.xml
...
<folder ID="s7" hidden="false" immutable="false" name="Welcome" type="regular" unremovable="false">
  <structure-attribute>
      <name>externalId</name>
      <value>welcome</value>
  </structure-attribute>
  <folder ID="s8" hidden="false" immutable="false" name="Column" type="regular" unremovable="false">
    <structure-attribute>
      <name>width</name>
      <value>50%</value>
    </structure-attribute>
    <channel fname="login" unremovable="false" hidden="false" immutable="false" ID="n9"/>
...
  </folder>
...
</folder>

...