Customizing logos
The image files contained in the
Pronto4 skin can be customized to add custom logos or login scree pictures.
- loginlogoimage.png
- The main logo on the login page. Size: 350x117 pixels, background: transparent.
- loginimage.png
- Login page "screenshot image". Size: 440x340 pixels, background: opaque.
- logosmallimage.png
- The main screen logo in the top left corner. Size: 90x30 pixels, background:
transparent.
- customlogosmall.png
- Rotates with the CommuniGate Pro logo in the right bottom corner of
the main screen. Size: 90x30 pixels, background: transparent.
- customlogomedium.png
- Rotates with the CommuniGate Pro logo on the login page. Size:
145x50pixels, background: transparent.
- customlogo125x37.png
- Rotates with the CommuniGate Pro logo on the login page. Size:
125x37pixels, background: transparent.
- loginlogo110.png
- The logo used in the AIR-based version of Pronto4
Customizing preloaders
Pronto preloaders are simple .swf files which are executed during application initialization and can be created with Flash Professional easily.
Two templates are provided in the archive. One of the sample preloaders includes logo and displays progress as a text.
The second one displays no text and no logo, so it can be used without modifications if you need to get Pronto! installation without the Pronto logo.
The archive also includes the basic ActionScript code that make preloaders tick.
Any preloader should have at least a public property progress (of a numeric type). Optionally, a preloader can have public property loadingText, which is a String.
These two properties are already used in the Preloader.as script in example preloaders.
To replace Pronto preloader, the custom preloader.swf should be installed into Pronto4 skin of the domain.
Creating color schemes
Pronto4 provides the built-in color scheme editor. To start it right click on the Preferences button to select the "Show customization panel" command. The workflow is as follows:
- The work in progress can be saved at any time. The design is stored in the account file storage.
- The color scheme being designed can be downloaded using the Download button. The resulting file can be uploaded to the Pronto4 skin to be immediately available to the users.
- The name of the scheme can be made more user-friendly and ready for localization process. The user-friendly names are retrieved from the LookLabels dictionary in strings.data of the Pronto4 skin.
If the custom Pronto4 skin does not have yet a custom strings.data file, one needs to be created with just the LookLabels dictionary inside:
LookLabels = {
special_scheme = "For color blind";
spec2 = "High Contrast";
};
- If the new scheme should be used by default, rename it to strings.look-default.data and upload it to the skin
Customizing toolbar icons
The toolbar icons are stored inside the mailloadassets.zip archive in Pronto4 skin as plain .png files.
To override default ones, simply download the archive from the skin, store modified icons into it and upload back to the skin.
Adding buttons to taskbar
You can add multiple buttons to Pronto! taskbar that point to external pages, they will show up near Preferences/Logout buttons. To add them, you need to modify two dictionary parameters in strings.data:
- AdditionalProntoButtons
- Specify buttons to add. The entry name is displayed on the button, the value is an URL used as a link.
- AdditionalProntoButtonNames
- (optional) Specify localized labels for custom buttons. Entry names should correspond to entries in AdditionalProntoButtons, and the value is the localized button label.
URLs specified in AdditionalProntoButtons can contain the following templates, which are substituted by Pronto! when user clicks on the button:
- %%ID%%
- Replaced by sessionID
- %%accountName%%
- Replaced by accountName, no domain part
- %%domainName%%
- Replaced by domain of the account
- %%fullAccountName%%
- Replaced by full account name: user@domain
- %%realName%%
- Replaced by user's real name (taken from <session/> XIMSS response)
Customizing File Sharing URL Scheme
When a user shares a file in his file storage (this also happens when a user sends a file over IM),
the link to the file is based on the user session properties: if the user is connected over HTTPS, https:// link will be created, otherwise Pronto! will create http:// link.
If the user is connected over unusual port (like 8100), it'll be also added to the link.
Sometimes it is desired to specify URL scheme and port that should be used for creating these links regardless of the user's session properties.
To do so, you need to specify the following parameters (both are optional) in strings.data:
- FileSharingURLScheme
- URL scheme to be used in shared file links. Either http or https
- FileSharingURLPort
- Port number to be used in shared file links
Customizing login page
The following parameters in strings.login.data skin file control the appearance of Pronto AIR login page:
- ShowSecureSelector
- Set to "YES" to enable display of the "secure" checkbox.
- UseSecureConnection
- Set to "YES" to force secure connection to the server when the option to select the secure connection mode is hidden.
- EnableCustomSignUp
- Set to "YES" to use a custom sign-up page.
- CustomSignUpURL
- Set to the string with the URL to use as the custom sign-up page.
- ShowLanguageSelector
- Set to "YES" to enable language selector on the login page.
ShowSecureSelector = YES;
UseSecureConnection = YES;
EnableCustomSignUp = YES;
CustomSignUpURL = "https://sign-up.mydomain.com/";
ShowLanguageSelector = NO;
Customizing single-window mode
The following parameter in strings.shell.data skin file control the appearance of main Pronto view in single-window mode:
- SingleWindowModeIMPosition
- If specified and value is "left" IM panel would be placed at the left, otherwise at the right side of the view.
The following Pronto! components use the
External Banner System:
- EMail
- The banner area above the message list (type=prontoEmailTop),
between the message list and the message preview area (type=prontoEmailTop),
below the message preview area (type=prontoEmailBottom).
The Banner data returned with the External Banner System is expected to be a dictionary with the following elements:
- bgcolor
- a "web-formatted" color string, such as #066 or navy
- contentType
- the banner image format (jpeg, gif, png)
- data
- the banner image data, specified in one of the following formats:
- [base64data] - the base64Data string is base64-encoded binary image file data.
- skin:fileName - fileName specifies the name of a Skin banner image file.
- http://url - an HTTP URL for the banner image file.
- timePeriod
- a string or a number specifying the banner display time (in seconds). When this time is up, the component re-sends the request to get a new banner to display.
- vsize
- a string or a number specifying the banner image height (in pixels)
- width
- (optional) a string or a number specifying the banner image width (in pixels)
- onClick
- (optional) the URL to open when the user clicks the banner.
If an External Banner System response for some banner type is empty or its timePeriod element is zero or absent,
the new banner is not displayed, the existing banner (if any) is removed, and
the component stops sending External Banner System requests for banners of that type.
CommuniGate® Pro Guide. Copyright © 1998-2015, Stalker Software, Inc.