---
title: "Site settings and TypoScript constants"
manual: "Glossary 2"
version: "main"
permalink: "https://docs.typo3.org/permalink/jweiland/glossary2:site-settings@main"
source: "Configuration/SiteSettings/Index.rst"
rendered: "2026-11-03T17:28:49+00:00"
---

# Site settings and TypoScript constants {#site-settings}

The site set `jweiland/glossary2` provides the following settings. Adjust
them in module **Site Management > Settings** or in the file
`config/sites/<identifier>/settings.yaml` of your site.

If you include the static template instead of the site set, set the
values as TypoScript constants with the names listed below (for example
`glossary2.storagePid`). The **Constant Editor** lists the
constants under their names used before version 7.0.1 (for example
`plugin.tx_glossary2.persistence.storagePid`). A constant with the new
name takes precedence over the old one.

<!-- TODO: no Markdown rendering for "versionchanged" -->

The TypoScript constants were renamed. They do not start with
plugin.tx_glossary2 anymore, for example
plugin.tx_glossary2.persistence.storagePid is now
glossary2.storagePid.

<!-- TODO: no Markdown rendering for "versionchanged" -->

The old constant names work again as a fallback, see
Upgrade to version 7.0.1.

-   **glossary2.templateRootPath**

    -   *Type:* string
    -   *Default:* `EXT:glossary2/Resources/Private/Templates/`

    Path to your own template root. It is added to
    `plugin.tx_glossary2.view.templateRootPaths` with key `1`.

-   **glossary2.partialRootPath**

    -   *Type:* string
    -   *Default:* `EXT:glossary2/Resources/Private/Partials/`

    Path to your own partial root. It is added to
    `plugin.tx_glossary2.view.partialRootPaths` with key `1`.

-   **glossary2.layoutRootPath**

    -   *Type:* string
    -   *Default:* `EXT:glossary2/Resources/Private/Layouts/`

    Path to your own layout root. It is added to
    `plugin.tx_glossary2.view.layoutRootPaths` with key `1`.

-   **glossary2.storagePid**

    -   *Type:* string
    -   *Default:* `0`

    Comma-separated list of the storage folders (PIDs) which contain the
    glossary records, for example `21,45,3234`. The value is used for
    `plugin.tx_glossary2.persistence.storagePid`.

    <!-- TODO: no Markdown rendering for "versionchanged" -->

    The setting is of type string now and accepts a comma-separated
    list of folders. Before, only a single folder (int) was possible.

-   **glossary2.pidOfDetailPage**

    -   *Type:* int
    -   *Default:* `0`

    Page which contains the plugin to show the detail view. Leave it at `0`
    to show the details on the current page. The value is used for
    `plugin.tx_glossary2.settings.pidOfDetailPage`.

-   **glossary2.pageBrowser.itemsPerPage**

    -   *Type:* int
    -   *Default:* `10`

    Number of glossary records shown on one page of the list view. The value
    is used for `plugin.tx_glossary2.settings.pageBrowser.itemsPerPage`.

    <!-- TODO: no Markdown rendering for "versionchanged" -->

    The default value was reduced from 15 to 10.

## Example site settings {#site-settings-example}

**config/sites/\<identifier>/settings.yaml**

```yaml
glossary2:
  storagePid: '21,45'
  pidOfDetailPage: 84
  pageBrowser:
    itemsPerPage: 20
```
