Control Panel

The Statamic Control Panel enables you to publish content, manage users, configure settings, run updates, and all manner of other useful things. It's responsive, intuitive, and powerful.

Table of Contents
  1. Logging In
  2. Disabling
  3. Translating

Logging In

You can access the Statamic Control Panel by visiting yourwebsite.com/cp. If you’d like to use a different URL, you can change the $control_panel variable in your index.php file accordingly.

$control_panel = 'chamber-of-secrets';

Control Panel

Disabling

Disabling the control panel is done in the index.php file as well.

$control_panel = false; // disabled

Translating

By default, the Statamic Control Panel will be displayed in your default locale. That locale is the first one listed in your locals list in your System settings, which should also match the $locale setting in your index.php file.

# system.yaml
locales:
  en:
    name: English
    full: en_US
    url: /
// index.php
$locale = 'en';

The translation files for English are included, and are located in statamic/resources/lang/en. If you would like to translate another language, copy the en folder into site/lang and rename it to the locale of your choice, and begin editing the data inside.

You may override the Control Panel’s locale by setting the locale value in either site/settings/cp.yaml to apply to all users, or in a user’s file to apply to only that user.

For example, to display the Control Panel in French you would add the following:

locale: fr

Learn more about localization.

Last Updated May 06, 2017

Table of Contents
  1. Logging In
  2. Disabling
  3. Translating