Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to add a new function button to eportfolio logon page

Status
Not open for further replies.

new2ce

MIS
Sep 8, 2003
25
US
Our users will be accessing eportfolio from a link on another web application. When they are done with eportfolio and back at the eportfolio logon page I would like to add a button next to the existing 'cancel' and 'help' buttons to return them to their main web application. How do I go about this?
 
I would just modify the code for the Cancel button to do what you need since 'Cancel' doesn't really do anything (I change 'Cancel' to 'Exit' and close the webpage).

Open logonform.csp and find 'cancel', change the codes as applicable.
 
many thanks, I was considering that but isn't cancel also used to 'cancel out' of the organizing feature where users can copy reports to other folders, rename reports, etc. Would this change impact more than the eportfolio logon page cancel button?
 
There are many 'Cancel' buttons, but they are specific to certain scripts. The button I'm referring to is on the logon screen. This is really the only one you want to modify because you want the users to actually logout of CE in order to efficiently release licenses (unless you write a clean-up script to release the license when they close the Window or write a script to block them from closing the Window).
 
Within logonform.csp, replace the following:[ol][li] all instances of
Code:
L_CANCEL
with
Code:
L_EXIT
[/li][li]"Cancel" with "Exit" (
Code:
var L_EXIT = "Exit";
)[/li][li]
Code:
href='logon.csp?action=logoff'
where the variable is
Code:
L_EXIT

with

Code:
href='
INSERT YOUR URL HERE
Code:
'
[/li][/ol]I use
Code:
href='javascript:window.close();'
to close the Window.

Hope this helps...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top