.. include:: /Includes.rst.txt

.. _admin-panel:

===========
Admin Panel
===========

Target group: **Integrators**, **Developers**

With an activated :doc:`Admin Panel <typo3/cms-adminpanel:Index>`, you can display the
structured data on a page generated by this extension for reviewing:

.. figure:: /Images/AdminPanel/TypesInformation.png
   :alt: Types information in the Admin Panel

   Types information in the Admin Panel

There are links available: The type to the according Schema.org documentation
and - if available - to the Google and Yandex references for the specific type,
other URLs to their destination.

Additionally, you can copy the markup on the specific page to the clipboard,
for example, to check it against the `Schema Markup Validator`_, or call
`Google's Rich Result Test`_ to validate the structured data.

.. _Google's Rich Result Test: https://search.google.com/test/rich-results
.. _Schema Markup Validator: https://validator.schema.org/

.. hint::
   Since the JSON-LD markup is fetched from the page cache, please make sure
   that this cache is enabled (for example, no use of the
   :php:`\TYPO3\CMS\Core\Cache\Backend\NullBackend`). Otherwise you will not
   see any markup.

   The markup is also not visible in the Admin Panel, if the cache of a page
   is disabled (for example, via :php:`TypoScriptFrontendController->no_cache`
   or :php:`CacheInstruction->disableCache()`).


Configuration
=============

To allow non-admin users to access the schema information in the Admin Panel,
you have to configure it in the corresponding
:ref:`user TSconfig <t3tsref:setting-user-tsconfig>`:

.. code-block:: typoscript

   admPanel {
      enable {
         ext-schema = 1
      }
   }
