Tip: Replace your Browser Reject page with Mobile Login

Discuss the Scalix web client

Moderators: ScalixSupport, admin

TheDude
Posts: 119
Joined: Sat Sep 17, 2005 9:53 pm
Location: Alabama, USA
Contact:

Tip: Replace your Browser Reject page with Mobile Login

Postby TheDude » Tue Dec 26, 2006 1:51 am

I really like the Mobile Login, stipped down, access that was added in version 11 for mobile users.

It occured to me that people who use Safari or Opera or any other alternative browser could use this for simple email, so why not redirect them to it instead of a nasty, "sorry your browser does not make the grade" page.

So, now I auto redirect users with alternative browsers to the mobile page, this also makes it so mobile users don't need to learn the mobile address since on a pda, they will also be auto redirected!

Use the custom index If you implemented the default.html file in your procedure, then check out line number 78 and 79 of that file:

Code: Select all

if ( reject )
  location.replace( "/webmail/browserReject.jsp" );


Change to:

Code: Select all

if ( reject )
  location.replace( "/m" );


Thanks to AussieOwner in this thread: http://www.scalix.com/community/viewtop ... wserreject
Also, if you want to know how to set up your own login page, you can use my tips that also work in version 11, here: http://www.scalix.com/community/viewtop ... highlight= The old version 10 login page will work, but, where is the swa_custom_login.tgz file that was in the Admin Resource Kit for 10 but is now missing for 11? If you use the version 10 login page with 11 server you have to click on the login button (not just press enter) plus the version 11 one has a cool green bar, I want this stuff WITH my logo!!

Update: Got tired of waiting so I grabbed the cool green loading image (a .gif) and added it to my custom login from version 10. Also, you can login by pressing enter if you use this code with your login/password (taken directly from the default webmail entrys html):

Code: Select all

<input id="username_field" type="text" style="width:150px" onfocus="gUsernameOrPasswordFieldHasFocus = true;" onblur="gUsernameOrPasswordFieldHasFocus = false;">
                              <br>
                              <span style="color:#666666;font-size:9px;">
                                Username
                              </span>
                              <br><br>
                              <input id="password_field" type="password" style="width:150px" onfocus="gUsernameOrPasswordFieldHasFocus = true;" onblur="gUsernameOrPasswordFieldHasFocus = false;">
                              <br>


Cheers!

The Dude

Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 3 guests