Skip to content
Ultimate Client Manager

Customising

Create a folder called custom at the top level of your installation, next to index.php. It does not exist to begin with, and it is never part of an update.

Inside it, recreate the path of whatever you want to change. If you want to change

includes/plugin_invoice/template/invoice_print.php

then copy it to

custom/includes/plugin_invoice/template/invoice_print.php

and edit that. From then on the application uses your copy and ignores the original. Delete your copy to go back to the standard behaviour.

Anything the application includes as a file, which is most of it:

To changeCopy to
The printed and emailed invoicecustom/includes/plugin_invoice/template/invoice_print.php
The page headercustom/design_header.php
The page footercustom/design_footer.php
The main menucustom/design_menu.php
The login screencustom/pages/login.php
The dashboardcustom/pages/home.php
Any plugin screencustom/includes/plugin_<name>/pages/<page>.php
The whole behaviour of a plugincustom/includes/plugin_<name>/<name>.php
The customer portalcustom/includes/plugin_customer/portal/index.php

The same mechanism adds new screens. Create

custom/includes/plugin_customer/pages/my_report.php

and it becomes reachable in the application as a page called my_report in the customer area, even though no such file exists in the product. This is the tidiest way to add a report of your own.

When the application needs a file it looks in this order and takes the first it finds:

  1. Your custom/ copy, mobile version
  2. Your custom/ copy
  3. The standard file, mobile version
  4. The active theme’s copy
  5. The standard file

So custom/ beats a theme, and a theme beats the standard file. Switching themes never disturbs your own overrides.

Eight themes are included. Choose one under Settings → Theme.

ThemeNotes
MetisThe default on a new installation.
AdminLTEA wide, dense administrative layout.
BlocksA card-based layout.
White LabelA plain layout intended for rebranding.
Blue, Left, ProOlder variations on the original design.
DefaultNo theme. The underlying unstyled layout.

A theme can also be set per user, if you turn that option on, so staff can each pick their own.

For colours, logos, spacing and the like, use the custom CSS box on Settings → Theme. Whatever you put there is appended to the stylesheet on every page, so you do not need a file override at all. This is the right tool for the great majority of appearance changes.

.main-bar h3 { color: #1b4f82; }
#logo img { max-height: 48px; }

A theme is a folder under includes/plugin_theme/themes/ containing at minimum an init.php that registers its stylesheet, and a style.php. It is picked up automatically once the folder is there.

To change a screen only for your theme, mirror the path inside the theme folder — includes/plugin_theme/themes/yourtheme/includes/plugin_customer/pages/customer_admin_edit.php overrides that one screen for that theme only. This is the same mechanism as custom/, one level further down the search order.

The simplest way to start is to copy an existing theme folder, rename it, and work from there. Copy rather than edit, so that updates to the original theme do not overwrite your work.

Before overriding a file to change some text, check whether you can change it from the interface instead:

  • Emails and documents — Settings → Templates holds the wording of everything the system sends.
  • Interface labels — Settings → Language lets you replace any text in the interface, including in your own language. It is the right way to change “Customer” to “Client” throughout.

Both survive updates with no effort on your part, which makes them better than an override wherever they are enough.

A good order to reach for things, from least to most work:

  1. A setting under Settings.
  2. A template or a language replacement.
  3. Custom CSS on the theme screen.
  4. A file override in custom/.
  5. A plugin of your own.

Each step up costs you more to maintain at update time. Most things people want are available in the first three.