 |
| |  |
Home In This Issue Email a Friend EasyPrint
 | |
|
How to create a customized login dialog box for Domino 4.6 (continued)
You can test the database offline (Action-Preview in your browser), but you won't be able to log in. This is good for a start, but it has to be tested and implemented on the Domino server.
You'll have to change the portion of code to correspond to your server's name and path of the database. What follows is a list of design elements you need in order to do this.
Modify the JavaScriptSubForm In the "JavaScriptSubForm", you have to enter the directory name where the database will reside. This subform is used for checking the browser type. If the browser is Netcsape 3.x, then don't present the custom dialog form, otherwise do. The code to be changed is:
else if (btype != "Mozilla/3") {
self.location.href="/logindb/logindb1.nsf/TheLoginForm?OpenForm"}
|
Modify the $$NavigatorTemplate In the "$$NavigatorTemplate for MainNavigator" form, change the image button location (where the image is stored). I store my images in a separate database on the same server.
Modify SubmitCancelNav In the "SubmitCancelNav" navigator, fill in the names for the domains and server fields. Don't' forget that the domains variable has a leading dot! Here's some code:
domains :=".subdir";
db := @Subset(@DbName; -1);
server :="localhost";
|
Modify TransferForm's $$HTML field In the TransferForm's $$HTML field, change the path accordingly. The code portion to be changed is:
"<SCRIPT LANGUAGE=\"JavaScript\">
function gothere() { var target_form =\"http://localhost/lodindb/logindb1.nsf/\"; self.location.replace(target_form +\"?OpenDatabase&Login=1\") }
</SCRIPT>
<BODY onLoad=\"gothere()\"> </BODY>"
|
Additionally, you can hide the login button if the user has already logged in. If the user is not logged in, you can hide the Compose New Document type of links.
Dan Simmons is a regular Contributing Editor to DominoPower and a Lotus Notes Recruiter for Continental Search, a recruiting firm specializing in Lotus Notes & Websphere. Dan can be reached at dan@consearch.com or (410) 529-7000. Job seekers and employers are encouraged to visit Continental Search's interactive career center at http://www.consearch.com.
[ Prev ]
|
|
-- Advertisement --
AUTOMATE LOTUS NOTES USER ID MANAGEMENT
ID Manager 4.5 from HELP Software provides a new level of automaton for managing Lotus Notes IDs. ID Manager lets Lotus Notes administrators get out of the business of creating and managing user IDs. Use our ROI calculator to see how quickly ID Manager will pay for itself.
Learn more about HELP Software products |
-- Advertisement --
How good are your Notes Reports?
Integra for Notes provides high value reporting and data analysis from Lotus Notes databases using Microsoft Word, Excel and PDF files.
- Enhance traditional static reports with Excel data analysis, pivot tables, macros
- Report from any Lotus Notes databases without changes to database design
- Runs reports through a Lotus Notes client and a web browser
- Enables Report scheduling or distribution by e-mail, printing or storing in a Notes database
- Allows use of LotusScript for advanced data manipulation
Enables self service reporting capabilities to end-users.
Click For More Info. |
Copyright © 1998-2008, ZATZ Publishing. All rights reserved worldwide.
|