Customizing the Sitelok control panel

Everything that users see in Sitelok is designed to match your site design. Only admin users will have access to the control panel but you can still makes various changes depending on your needs including making it 'white label'.

Changing the theme color

The theme color can be changed by adding this setting to slconfig.php (anywhere is ok)
$adminskin="blue";
You can set this to blue (this is the default), blue-light, black, black-light, green, green-light, purple, purple-light, red, red-light, yellow or yellow-light.

Changing the logo

You can replace the main logos displayed in the control panel with your own image.

which can be found at /slpw/adminlte/img/adminlogo.png

You can also replace the mini logo that is displayed when the navigation is minimized

which can be found at  /slpw/adminlte/img/adminlogomini.png

Changing the copyright message

If you wish to white label the control panel you are free to replace the displayed copyright message with text of your choice. You must leave any copyright messages within the code in place though. All of the control panel text is defined in the file /slpw/adminlanguage-en.php including the copyright text.

define("ADMINGENERAL_FOOTERLEFT","<strong>Copyright &copy; <a href=\"https://www.vibralogix.com/sitelokpw\">Vibralogix Ltd</a>.</strong> All rights reserved.");
	

As you can see you can use html in the text as well as long as any " character has a \ before it.

You can also change the right hand footer text

define("ADMINGENERAL_FOOTERRIGHT","Smart scripts for smart sites");
	

Translating or changing the control panel text

You can change the wording or translate any of the text used in the control panel. By default all of the English text is stored in the file /slpw/adminlanguage-en.php which you can adjust as needed. For example the text 'User actions' is defined in the line
define("ADMINMENU_USERACTIONS","User actions");
	
If you are translating to a new language you may prefer to rename the -en part of the file name to -de for example. You can then instruct Sitelok to load this language file instead by adding this setting to slconfig.php (anywhere is ok).
$adminlanguage="de";
	
Set this to en or delete the setting to revert to the default English file.

Disable the SQL Query filter

If you wish to disable the SQLQuery filter option you can add this setting to slconfig.php

$sl_noqueryoption=true;