---
title: Adding Information to the System Environment Toolbar
url: "https://news.typo3.com/article/adding-information-to-the-system-environment-toolbar"
description: "The system information toolbar shows you details such as the version of TYPO3 that installation is running. Want to see how to extend the toolbar? In this video tutorial, Susanne Moog walks you through and shows how to add more helpful info."
image: "https://news.typo3.com/_assets/d1e01514e4c4a5b3147940fa2ec50682/Images/og-image-news.jpg"
date: 2025-11-03
modified: 2025-11-03
categories:
  - "Developer & Technology"
---

# Adding Information to the System Environment Toolbar

- [Developer & Technology](https://news.typo3.com/article/category/developer-technology)

Adding Information to the System Environment Toolbar
====================================================

29 October 2018

![](https://news.typo3.com/fileadmin/_processed_/8/0/csm_adding_system_information_header_image_6d2c5edc90.webp)

Nearly every part of TYPO3 CMS is extendable. In this blog post and the embedded video tutorial, Susanne Moog shows how to extend the system information toolbar to add more helpful info.

- ![](https://news.typo3.com/typo3temp/assets/t3g/blog/gravatar/2911b4bf41ec36ed750d5b4d199fbf00.jpeg)[Susanne Moog](https://news.typo3.com/article/author/susanne-moog)

In TYPO3 CMS nearly every part is extendable, that’s one of my favorite things about it. While TYPO3 CMS core offers all of the essentials you need for content management, by adding extensions you can customize the CMS to your niche requirements. There are hundreds of [solutions shared in the TER](https://news.typo3.com/article/typo3-grows-strong-in-africa "Our App Store is Called TER - and It's Free!") (TYPO3 Extension Repository) that’s a great place to start. Can’t find what you need? Time to build your own. When you have the right PHP skills to create extensions, you can create anything you want.

In this video, I’ll show you how you can extend the [system information toolbar](https://docs.typo3.org/typo3cms/GettingStartedTutorial/GeneralPrinciples/TopBar/Index.html "System Information Toolbar") with custom information. The system information toolbar shows you details such as the version of TYPO3 that installation is running. What if you wanted to also add more details to help others, such as the current Git version being used?

To get the most out of this tutorial, you would need to know the basics of building TYPO3 extensions to follow along. This tutorial explains how to use the system information toolbar API.

All of the code used in the video is available on GitHub:  [https://github.com/psychomieze/typo3-examples/tree/master/SystemStatus](https://github.com/psychomieze/typo3-examples/tree/master/SystemStatus "Adding Information on System Status")

### Overview of extending system information in the toolbar.

To extend the system information toolbar, add the registration of the environment information to the ext\_localconf of your extension:

Code ext\_localconf.php:

```
```php
if (!defined('TYPO3_MODE')) {
  die('Access denied.');
}

call_user_func(function () {
  if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
    \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class)
      ->connect(
        \TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem::class,
        'getSystemInformation',
        \T3G\Site\Backend\ToolbarItem\SystemInformationToolbarItemExtension::class,
        'addEnvironmentInformation'
      );
  }
});

```
```

Next, add a corresponding class implementing the method you defined in the localconf. The method should return an array with the title, value and icon you want to show:

```
```php
use TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem as CoreSystemInformationToolbarItem;
use TYPO3\CMS\Core\Utility\CommandUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;

class SystemInformationToolbarItemExtension
{
  public function addEnvironmentInformation(CoreSystemInformationToolbarItem $systemInformation)
  {
    $systemInformation->addSystemInformation(
      'Site Version',
      htmlspecialchars(trim(CommandUtility::exec('git describe'))),
      GeneralUtility::makeInstance(IconFactory::class)
        ->getIcon('sysinfo-git', Icon::SIZE_SMALL)->render(),
    );
  }
}
```
```

For more information on how to use the icon factory take a look at the [Icon API documentation](https://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Icon/Index.html "Icon API documentation").

 Consent Required

To load this YouTube Video content, associated cookies must be accepted.

  Accept and load

You'll find answers to other frequently asked technical questions, instructional clips and all sorts of helpful videos on our TYPO3 YouTube channel. Come along and join us there. If you find this useful, please share the link on your network.

![](https://news.typo3.com/typo3temp/assets/t3g/blog/gravatar/c16177e5d1052723ec4bf4860a2c6d36.jpeg)

About the Author

[Susanne Moog](https://news.typo3.com/article/author/susanne-moog)

COO at TYPO3 GmbH,Jena, Germany

[Website](https://susi.dev/)[Twitter](https://twitter.com/sasunegomo)[LinkedIn](https://www.linkedin.com/in/susanne-moog)[Xing](https://www.xing.com/profile/Susanne_Moog)

Susanne has been part of the TYPO3 project for over ten years. Originally she studied media economics, but quickly realized that programming was more than just a hobby and started working in the IT area.

She has worked at TYPO3 GmbH and team neusta, as a scrum master, developer and COO. In her free time she loves reading, dancing, philosophy and doing code katas.

[More posts by this author](https://news.typo3.com/article/author/susanne-moog)