Innovators in Mail server, Webmail and appliance solutions

 

January 13, 2009

 Creating Banners For The User Email Window.

You may wish to add banners to the AtMail interface - for advertisement, or branding purposes. Here is an easy way to do so, that only involves replacing a few files for the interface.

1.) Download header-mod.tgz from: http://atmail.com/kb/attach/header-mod.tgz

2.) Backup your current webmail directory:

% cp -R /usr/local/atmail/webmail /usr/local/atmail/webmail.backup

3.) Unpack the file, then confirm permissions:

% tar xvfz header-mod.tgz -C /usr/local/atmail/webmail/
% chown -R [apache user] /usr/local/atmail/webmail/

Where [apache user] is the Apache user. If using the Server version, this will be "atmail".

4.) You can then alter the /usr/local/atmail/webmail/webmailheader.php file, to reflect your desired banner code. The default in the file is:

picture-7.png

5.) You can then alter the img tag to reflect the location of your banner. The location is relative to /usr/local/atmail/webmail/ - so a setting of "imgs/banner.png" will be for: /usr/local/atmail/webmail/imgs/banner.png

6.) Save your settings. This will then display your modifications at the top of the user email window after login.

A sample page may look like:

sample.png


Filed under: Customization, Interface — John Contad @ 8:04 pm

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment