|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
David Gewirtz is the author of How To Save Jobs and Where Have All The Emails Gone? For more than 20 years, he has analyzed current, historical, and emerging issues relating to technology, competitiveness, and policy. David is the Editor-in-Chief of the ZATZ magazines, is the Cyberterrorism Advisor for the International Association for Counterterrorism and Security Professionals, and is a member of the instructional faculty at the University of California, Berkeley extension. He can be reached at david@zatz.com and you can follow him at http://www.twitter.com/DavidGewirtz.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.
The many included activities and demos will make you a pro! Expert instructor help is a click away.
Click here to try a FREE demo course!! |
-- Advertisement --
Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
- Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
- User friendly aproach, using a point and click access to features
- Reports from any Lotus Notes databases
- Runs reports through a Notes client, web browser and scheduled basis
- Allows use of LotusScript for advanced data manipulation
- Enables self service reporting capabilities to end-users
Learn more at www.integra4notes.com. |
|
|
|
|
|
|
|
|
|
|