Difference between revisions of "CUSTOM WELCOME/LOGIN PAGE"

From Scalix Wiki
Jump to: navigation, search
(Changed tags because i'm new to this...)
Line 6: Line 6:
  
 
You can change the title between <title> </title> in the head of the webpage:
 
You can change the title between <title> </title> in the head of the webpage:
[quote]
+
 
 +
%CODE{html}%
 
<html>
 
<html>
 
   <head>
 
   <head>
Line 34: Line 35:
 
}
 
}
 
     </style>
 
     </style>
[/quote]
+
%ENDCODE%
  
 
The following section is the browser detection and other functions. These are essentially to the proper operation of the Webmail AJAX client. It is not recommended to modify these.
 
The following section is the browser detection and other functions. These are essentially to the proper operation of the Webmail AJAX client. It is not recommended to modify these.
[code]
+
%CODE{html}%
 
     <!-- built on 08/26/2005 04:55 PM -->
 
     <!-- built on 08/26/2005 04:55 PM -->
 
     <script type="text/javascript" src="/webmail/brwsniff.js"></script>
 
     <script type="text/javascript" src="/webmail/brwsniff.js"></script>
Line 86: Line 87:
 
   }
 
   }
 
}
 
}
[/code]
+
%ENDCODE%
  
 
The following code segment redirects a browser if it does not match the criteria required. A forum post suggests that replacing the url with "/m" is useful and I would agree.  
 
The following code segment redirects a browser if it does not match the criteria required. A forum post suggests that replacing the url with "/m" is useful and I would agree.  
  
[code]
+
%CODE{html}%
 
if ( reject )
 
if ( reject )
 
   location.replace( "/webmail/browserReject.jsp" );
 
   location.replace( "/webmail/browserReject.jsp" );
Line 97: Line 98:
 
       </script>
 
       </script>
 
   </head>
 
   </head>
[/code]
+
%ENDCODE%
  
 
More to come...
 
More to come...

Revision as of 09:54, 10 January 2007

In order to customize the welcome/login page you should understand that the page is (initially) generated on-demand when a user visits the webmail url. We need to create a static page that can perform the same tasks that this dynamic creation does. In Scalix 10 there was an Admin Resource Kit which included a static webpage to do this. This has not been released for Scalix 11. We can use the page from Scalix 10 for the basis of the customization in Scalix 11.

Let's review the Scalix 10 "default.html" so that you understand what it is doing.

You can change the title between <title> </title> in the head of the webpage:

%CODE{html}% <html>

 <head>
   <title>The Best Webmail System </title>
   <style type="text/css">

input, span {

 font-family:helvetica, sans-serif;
 font-size:11px;
 color:black;
 font-weight:normal;
 font-style:normal;

}

span {

 cursor:default;

}

a:link, a:visited, a:active {

 color:#BB0000;
 text-decoration:none;

}

a:hover {

 color:#BB0000;
 text-decoration:underline;

}

   </style>

%ENDCODE%

The following section is the browser detection and other functions. These are essentially to the proper operation of the Webmail AJAX client. It is not recommended to modify these. %CODE{html}%

   <script type="text/javascript" src="/webmail/brwsniff.js"></script>
   <script type="text/javascript" src="/webmail/fugu.js"></script>
   <script type="text/javascript" src="/webmail/index.js"></script>
   <script type="text/javascript">
     </script>
 </head>

%ENDCODE%

More to come...