Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Anchor
top
top

Table of Contents
classcontents

Overview

Customisation of the standard Yellowfin Login Page can be performed two ways:

  1. Simple - this involves the replacement of images, and changes to the CSS files used by the standard login page, without having to write a custom page. Generally this option is used for quick 'mock ups' but not the final restyled product.
  2. Complete - this involves writing a custom .jsp file to replace the standard page. This method requires more technical knowledge, and more time.

Simple

If you wish to create a quick, temporary custom login page, simply replace the following images, by placing new versions with the same file name in the Yellowfin ROOT customimages directory (Yellowfin\appserver\webapps\ROOT\customimages

...

)

...

with

...

your

...

customised

...

versions:

...

  1. logo.png

...

  1. yellowfin_welcome.png

...

  1. logoFooter.png

...

  1. nav_bkg.png

...

You

...

will

...

need

...

to

...

clear

...

your

...

browser

...

cache

...

once

...

replacing

...

these

...

images

...

in

...

order

...

for

...

them

...

to

...

appear.

...

Note:

...

the

...

images

...

you

...

wish

...

to

...

use

...

as

...

replacements

...

will

...

need

...

to

...

have

...

the

...

same

...

name

...

as

...

the

...

files

...

listed

...

above

...

in

...

order

...

for

...

the

...

page

...

to

...

pick

...

them

...

up.

...

You

...

no

...

longer

...

have

...

to

...

overwrite

...

the

...

originals,

...

simply

...

place

...

your

...

new

...

images

...

in

...

the

...

custom

...

directory.

...

This

...

will

...

mean

...

that

...

they

...

will

...

not

...

be

...

overwritten

...

during

...

the

...

upgrade

...

process.

...

Example

Component

Standard Login

Custom Login

Full Page

Image Added

Image Added

logo.png

Image Added

Image Added

yellowfin_welcome.png

Image Added

Image Added

logoFooter.png

Image Added

Image Added

nav_bkg.png

Image Added

Image Added

Complete

Instead of starting completely from scratch, a copy of the current login page jsp can be found in the development examples directory of your Yellowfin installation (Yellowfin\development\examples\index_mi.jsp

...

).

...

This

...

will

...

give

...

you

...

a

...

starting

...

point,

...

providing

...

the

...

javascript

...

required

...

for

...

the

...

login

...

itself,

...

and

...

allowing

...

you

...

to

...

change

...

the

...

layout

...

however

...

required.

...

Instructions

Firstly,

...

you

...

will

...

need

...

to

...

rename

...

the

...

login

...

file

...

to

...

something

...

other

...

than

...

index_mi.jsp

...

,

...

for

...

example

...

login_companyName.jsp

...

.

...

You

...

will

...

then

...

need

...

to

...

place

...

your

...

login

...

file

...

in

...

the

...

Yellowfin

...

ROOT

...

directory

...

(

...

Yellowfin\appserver\webapps\ROOT

...

).

...

In

...

order

...

to

...

ensure

...

Yellowfin

...

uses

...

this

...

file

...

instead

...

of

...

the

...

standard

...

option,

...

you

...

will

...

need

...

to

...

complete

...

the

...

following

...

while

...

Yellowfin

...

is

...

not

...

running:

...

  1. Stop

...

  1. Yellowfin

...

  1. Locate

...

  1. the

...

  1. web.xml

...

  1. file

...

  1. found

...

  1. in

...

  1. Yellowfin\appserver\webapps\ROOT\WEB-INF

...

  1. and

...

  1. locate

...

  1. the

...

  1. following:

...

  1. Code Block

...

  1. language

...

  1. html/xml

...

  1. 
      <!-- The Welcome File List -->
    
      <welcome-file-list>
        <welcome-file>index_mi.jsp</welcome-file>
      </welcome-file-list>
    

...

    1. Update the welcome-file

...

    1. node

...

    1. to

...

    1. reference

...

    1. your

...

    1. new

...

    1. login

...

    1. page's

...

    1. name.

...

    1. For

...

    1. example:

...

    1. Code Block

...

    1. language

...

    1. html/xml

...

    1. 
        <!-- The Welcome File List -->
      
        <welcome-file-list>
          <welcome-file>login_companyName.jsp</welcome-file>
        </welcome-file-list>
      

...

    1. Save the changes to the web.xml

...

    1. .

...

  1. Edit

...

  1. your

...

  1. new

...

  1. login

...

  1. page,

...

  1. locating

...

  1. any

...

  1. references

...

  1. to

...

  1. index_mi.jsp

...

  1. and

...

  1. update

...

  1. to

...

  1. your

...

  1. login

...

  1. page

...

  1. name.

...

  1. For

...

  1. example:

...

    1. This
      Code Block
      languagejavascript
      
      <input type="hidden" name="<%=Const.INDEX_PAGE%>" value="/index_mi.jsp" />
      

...

    1. Will

...

    1. become

...

    1. Code Block

...

    1. language

...

    1. javascript

...

    1. 
      <input type="hidden" name="<%=Const.INDEX_PAGE%>" value="/login_companyName.jsp" />
      

...

    1. And this
      Code Block
      languagejavascript
      
      Const.INDEX_PAGE +"=/index_mi.jsp"
      

...

    1. Will

...

    1. become

...

    1. Code Block

...

    1. language

...

    1. javascript

...

    1. 
      Const.INDEX_PAGE +"=/login_companyName.jsp"
      

...

    1. Save the changes to your login page.
  1. In order to ensure your page is used once a user logs out, as well as the initial log in, a change needs to be made in the Yellowfin Configuration DB. In the DB:
    1. In the Configuration table, locate the record where ConfigCode = 'LOGONPAGE' and update the ConfigData = 'login_companyName.jsp'

...

    1. using:

...

    1. Code Block

...

    1. language

...

    1. sql

...

    1. 
      UPDATE dbo.Configuration
      SET ConfigData = 'login_companyName.jsp'
      WHERE ConfigCode = 'LOGONPAGE'
      

...

  1. Restart Yellowfin

Example

Component

Standard Login

Custom Login

Full Page

Image Added

Image Added