Learn how to correctly configure and use Client Notification for Lagom WHMCS Client Theme (opens new window). This extension allows you to display different types of notifications for your WHMCS clients, on selected pages in Lagom WHMCS Client Theme (opens new window).
Below is a description of columns shows in "Notifications" table.
-
is visible.-
is visible.Each of the notification can be easily exported, and then imported by clicking "Import" button. Learn more about Export/Import functionality.
By clicking "Add New" button, you will be redirected to configuration page to perform required configuration, and then save your new notification.
Define for what conditions specific notification should be shown for your clients in Lagom WHMCS Client Theme. By clicking on the "on/off" button in right side of each panel, you will be able to enable and configure specific filters, as shown in below video.
Important: Pages selected via "Selected Pages" and "Excluded Pages", which relate to the ordering process, will not work for the Lagom One Step Order Form module.
"Page Filters" allows to choose on what specific pages, this notification will be shown for your clients in Lagom WHMCS Client Theme.
Page Categories - Choose for what page categories, specific notification should be shown. There are two different categories defined:
Selected Pages - Choose for what specific pages this notification should be shown. You can select multiple options. This filter will list below pages:
Excluded Pages - Choose on what specific pages, selected notification should NOT be shown. You can select multiple options.
Custom URL Configuration - This option allows you to specify custom URLs where the notification should be displayed or excluded. This is useful for targeting specific URLs or keywords that are not part of the predefined page categories. After selecting Custom URL in either the Selected Pages or Excluded Pages sections, you will see the following fields:
https://demo.rsstudio.net/lagom/store/web-hosting
or just a keyword like offer
.Example Use Case
Exact URL Matching:
https://www.examplehost.com/index.php?m=SupportCenter
Partial URL Matching:
SupportCenter&action=settings
.Client Filters" allows to choose for what clients, this notification should be shown in Lagom WHMCS Client Theme (opens new window).
"Services Filters" lets you to decide what services and its configuration need to be assigned to the client account. All filters in this group works ONLY for logged in client, and will NOT be applied for not logged in client.
"Configurable Options Filters" shows ONLY when "Service Filters" is enabled and "Service(s)" field has products which have configurable options assigned in your WHMCS product settings (opens new window).
List of fields in this filter depend on configurable option types assigned to specific product. Configurable options can be created and managed in WHMCS admin area (opens new window).
"Domain Filters" lets you to decide what domain and its configuration need to be assigned to the client account, so this notification will be shown in Lagom WHMCS Client Theme (opens new window). All filters in this group works ONLY for logged in client, and will NOT be applied for not logged in client.
Define what style should be used for notification. This option changes color of the icon in "Modal", additionally it defines the color of left bar for "Alert" notification type.
Decide type of the notification. You can choose from multiple options, listed below.
Choose location of the buttons created via "Buttons Manager". This section display different option, based on selected Notification Type.
This setting allows you to choose when the modal should appear on a specific page. You can select either "Page Load" for it to appear when the page loads or "Exit Intent" to trigger it when the user intends to leave the page.
This feature allows you to set a specific time delay before the modal appears on your website. You can customize the delay duration to optimize the user experience. Enter amount in seconds.
This option will show up when "Modal" type has been selected in "Notification Type" field. You can choose from below options.
300px
width.448px
width.560px
width.800px
width.Decide if default icon should be shown in modals or alerts.
Different icons will be shown based on selected "Notification State".
After creating new notification, "Display Close Icon" option is enabled by default. When this option is disabled, "Close" icon will be removed from selected notification.
When "Display Close Icon" option is activated for "Alert" notification type, "close" icon is shown in top right corner.
Below is detailed information, what happen for "modal" notification type, based on state of "Display Close Icon" option:
This option will be shown only if "Display Close Icon" will be enabled.
Different actions will be made, based on selected value.
When value is set to 0
, after closing the notification, it will be shown again with every page reload.
If amount of day is set to be greater than or equal to 1
, customer choice is remembered for specified amount of days. For example if you set amount to be 10
, then "alert" won't be show for 10 days after customer clicks on the "close" icon.
For "modal" notification type, to remember this actions, customers will be forced to click additional checkbox, which will be shown in the bottom of the modal.
You can create notification in multiple languages, this option allows you to decide for what language following content customization will be made.
Title string will be shown in "modals" and "alerts":
You can leave this field empty, so no "heading" will be shown, which will allow you to create modal, where graphics fills the whole top space, as in below example:
Set notification message. This fields allows to perform advanced actions on your text, or use the tool to place your own HTML code.
Starting from version 1.1.0 of this product, you have the capability to insert variables into your messages, which will then be replaced with specific numbers or strings. Explore the list of available variables
{Services}
- Number of "Services" which fits configured filter in this notification.{Domains}
- Number of "Domains" which fits configured filter in this notification{Unpaid Invoices}
- Number of "Unpaid Invoices" of the currently logged in customer.{Overdue Invoices}
- Number of "Overdue Invoices" of the currently logged in customer.{Total Due Invoices Balance}
- Total amount of "Due Invoices" of the currently logged in customer.{Client Name}
- Full name of currently logged in customer.{Client First Name}
- First name of currently logged in customer.{Client Last Name}
- Last name of currently logged in customer.{Client Email Address}
- Email address of currently logged in customer.{Client Company Name}
- Company name of currently logged in customer.{Client Credit Balance}
- Credit balance of currently logged in customer.Replace the "default icon" for alert with selected icon, and place new icon or graphic in the modal. Learn more about "Media Manager" modal.
Create your own buttons, using the "Buttons Manager" modal.
By activating the "Display Time" function, you will be able to configure time range, for which notification will be shown.
Display date and time when notification has been saved, additionally it shows who performed last modification.
"Media Manager" modal gives you multiple options to assign icons, illustrations or custom graphics to your notification.
Predefined icons, is a group of icons and illustrations, which already exist in Lagom WHMCS Client Theme, and you can easily use them by selecting specific icon via the "Media Manager" modal.
When you choose an icon from below tabs, it will replace the default icon shown in notifications, only when "Display Default Icon" option is selected.
12x12px
.18x18px
.Selected UI icon replace the "default icon" in modal, as shown in below example:
Selected UI icon replace the "default icon" in alert, as shown in below example:
These are default SVG icons used in Lagom WHMCS Client Theme. SVG icons are loaded from the /templates/lagom2/assets/svg-icon
directory, so it is possible to add your own SVG graphics by creating new .tpl
file. Because these icons are added to the theme as SVG code, you can easily change their colors via the "Style Manager"
Selected SVG icon is shown above the modal content, as below example:
Selected SVG icon replace the "default icon" in alert, as shown in below example:
These are default SVG illustrations used in Lagom WHMCS Client Theme. SVG illustrations are loaded from the /templates/lagom2/assets/svg-illustrations
directory, so it is possible to add your own SVG graphics by creating new .tpl
file.
Selected SVG illustration is shown above the modal content, as below example:
Selected SVG illustration replace the "default icon" in alert and are placed in container which has maximu width of 160px
.
Custom Icons is a grup of tabs, which allows you to upload your own icons or graphics, and then assign them to created notification.
Media library tab displays graphics, which has been previously uploaded using "Upload Custom Icon" tab.
Custom graphic is always shown above the modal content, without paddings, thanks to this you are able to upload full width graphics, as in below example:
However if you'd like to use this graphic as icon shown the same as ["SVG Icons"]#svg-icons), you have to assign modal-custom-icon
class to "Custom Class" field, so your icon will be positioned as below:
Custom graphics in alerts are shown in container, which has maximum width of 160px
. You can easily modify this by adding custom CSS rules to the custom css file.
Uploaded graphics are stored in /templates/lagom2/assets/img/page-manager
Our "Button Manager" modal, allows you to easily build and assign custom buttons to your notifications.
Allows you to choose button size, which are defined in "Style Manager".
List of options available for this field:
30px
height.36px
height.44px
height.52px
height.Allows you to select button style.
List of options available for this field:
Choose button color, which are defined in "Style Manager".
List of options available for this field:
Enter text which will be shown in created button.
Choose the action, which should be made once clicked on created button.
When "Custom URL" option is selected, additional field will be shown, where you can enter your custom URL, which then will be assigned to this button.
When "WHMCS Page" option is selected, additional select field will be shown. This field allows you to select a link to WHMCS page. Once selected, our addon automatically generate the URL and assign it to the button.
When "Close Notification" option is selected, our addon generate a button, which close specific notification once clicked, as seen on below examples:
This field allows you to assign custom classes to your button, which gives you advanced possibilities to perform further customization, via CSS or JS files.
When "One URL in New Window" is selected, once button is clicked, URL will be opened as new browser tab.
This option allows you to assign icon to the created button, from predefined icon list.
Client Notification for Lagom WHMCS Client Theme contains functionality, which allows you to easily export and import notifications. This way you can build them on your development server and then import to production server, without need to perform complicated migration of the database and extension files.
To export your existing notification, you have to click "Export" button in management page. Our extension will generate a .zip
file, with notification configuration and custom graphics if uploaded via "Media Manager". This file will be save on your computer.
Previously exported notification, can be easily imported by clicking on "Import" button. You have to upload .zip
file which has been generated by the addon. Imported notification will be shown on notification lists as "Disabled", so it won't be visible for your customers, until published.
You can easily add additional expression to your messages by adding emoji icons to the message content, as shown in below video:
If you'd like to center your SVG icon or graphic vertically, you need to add alert-icon-v-center
class to in "Custom Class" field in notification settings.
Once done, your icon should be centered as below example
← Installation Update →