---
title: "Site Set settings"
manual: "Yellowpages2"
version: "10.0"
permalink: "https://docs.typo3.org/permalink/jweiland/yellowpages2:site-set-settings@10.0"
source: "Configuration/TypoScript/Index.rst"
rendered: "2026-11-20T15:36:35+00:00"
---

[https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/GeneralConventions/FileStructure.html#includes-rst-txt](https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/GeneralConventions/FileStructure.html#includes-rst-txt)

# Site Set settings {#site-set-settings}

> [!TIP]
> Configure EXT:maps2 first. It is required for the map step of the company form and shows
> company addresses on a map.
>
> [Maps2 documentation](https://docs.typo3.org/p/jweiland/maps2/master/en-us/)

`yellowpages2` ships its configuration as the Site Set `jweiland/yellowpages2`. Add it to the
`dependencies` list of your site configuration (`config/sites/<your-site-identifier>/config.yaml`),
then override any of the following settings for your site in
`config/sites/<your-site-identifier>/settings.yaml`:

**config/sites/my_site/settings.yaml**

```yaml
yellowpages2.storagePid: '21,45,3234'
yellowpages2.pidOfMaps2Plugin: 12
yellowpages2.pidOfListPage: 20
yellowpages2.pidOfDetailPage: 21
yellowpages2.pidOfSearchResults: 22
yellowpages2.pidOfManagementPage: 23
```

-   **Yellowpages2**

    -   *Label:* Yellowpages2

    -   **Yellowpages2.templates**

        -   *Label:* Templates

        -   **yellowpages2.templateRootPath**

            -   *Type:* `string`
            -   *Default:* `"EXT:yellowpages2/Resources/Private/Templates/"`
            -   *Label:* Templates
            -   *Category:* Yellowpages2 > Templates

            Path to template root

        -   **yellowpages2.partialRootPath**

            -   *Type:* `string`
            -   *Default:* `"EXT:yellowpages2/Resources/Private/Partials/"`
            -   *Label:* Partials
            -   *Category:* Yellowpages2 > Templates

            Path to partial root

        -   **yellowpages2.layoutRootPath**

            -   *Type:* `string`
            -   *Default:* `"EXT:yellowpages2/Resources/Private/Layouts/"`
            -   *Label:* Layouts
            -   *Category:* Yellowpages2 > Templates

            Path to layout root

    -   **Yellowpages2.pages**

        -   *Label:* Pages

        -   **yellowpages2.storagePid**

            -   *Type:* `string`
            -   *Label:* Default storage PID
            -   *Category:* Yellowpages2 > Pages

            Folder for storing records and fetched data

        -   **yellowpages2.pidOfMaps2Plugin**

            -   *Type:* `page`
            -   *Default:* `0`
            -   *Label:* PID for maps2
            -   *Category:* Yellowpages2 > Pages

            PID where maps2 plugin for detail view is inserted

        -   **yellowpages2.startingUidForCategories**

            -   *Type:* `int`
            -   *Default:* `0`
            -   *Label:* Root for categories
            -   *Category:* Yellowpages2 > Pages

            Starting/Parent UID of all available categories for this plugin

        -   **yellowpages2.uidOfDefaultDistrict**

            -   *Type:* `int`
            -   *Default:* `2`
            -   *Label:* Default District
            -   *Category:* Yellowpages2 > Pages

            UID of the default district to show in selectbox

        -   **yellowpages2.pidOfDetailPage**

            -   *Type:* `page`
            -   *Default:* `0`
            -   *Label:* PID of Detail page
            -   *Category:* Yellowpages2 > Pages

            Leave empty to show details on current page

        -   **yellowpages2.pidOfListPage**

            -   *Type:* `page`
            -   *Default:* `0`
            -   *Label:* PID of List page
            -   *Category:* Yellowpages2 > Pages

            List Page UID: If empty, the current page ID will be used.

        -   **yellowpages2.pidOfManagementPage**

            -   *Type:* `page`
            -   *Default:* `0`
            -   *Label:* PID of Management page
            -   *Category:* Yellowpages2 > Pages

            Page with the Management plugin to create and edit companies. Used by the create/edit links and the links in the moderation mail. If empty, the current page ID will be used.

        -   **yellowpages2.pidOfSearchResults**

            -   *Type:* `page`
            -   *Default:* `0`
            -   *Label:* PID of Search results page
            -   *Category:* Yellowpages2 > Pages

            Page with the Search plugin to show the search results. The search form submits to this page. If empty, the current page ID will be used.

        -   **yellowpages2.userGroup**

            -   *Type:* `int`
            -   *Default:* `1`
            -   *Label:* Usergroup Uid
            -   *Category:* Yellowpages2 > Pages

            The user group allowed to create new companies. This determines the rendering of the edit and create links on the list page.

    -   **Yellowpages2.pagination**

        -   *Label:* Pagination

        -   **yellowpages2.pageBrowser.itemsPerPage**

            -   *Type:* `int`
            -   *Default:* `15`
            -   *Label:* Records per page
            -   *Category:* Yellowpages2 > Pagination

            How many items should be displayed on one page

        -   **yellowpages2.pageBrowser.insertAbove**

            -   *Type:* `bool`
            -   *Default:* `1`
            -   *Label:* Insert above
            -   *Category:* Yellowpages2 > Pagination

            Should pagebrowser be displayed on top of the list

        -   **yellowpages2.pageBrowser.insertBelow**

            -   *Type:* `bool`
            -   *Default:* `0`
            -   *Label:* Insert below
            -   *Category:* Yellowpages2 > Pagination

            Should pagebrowser be displayed at bottom of the list

        -   **yellowpages2.pageBrowser.maximumNumberOfLinks**

            -   *Type:* `int`
            -   *Default:* `5`
            -   *Label:* Max. number of links
            -   *Category:* Yellowpages2 > Pagination

            Define maximum amount of pages which should be displayed

    -   **Yellowpages2.form**

        -   *Label:* Company form

        -   **yellowpages2.form.storagePid**

            -   *Type:* `page`
            -   *Default:* `0`
            -   *Label:* Storage page of new companies
            -   *Category:* Yellowpages2 > Company form

            Page UID, where companies created with the company form are stored. If empty, the first storage page of the plugin or else the current page is used.

        -   **yellowpages2.form.richText.enable**

            -   *Type:* `bool`
            -   *Default:* `false`
            -   *Label:* Enable rich text editor
            -   *Category:* Yellowpages2 > Company form

            Use CKEditor 5 of EXT:rte_ckeditor for the rich text elements of the company form. Requires EXT:rte_ckeditor.

        -   **yellowpages2.form.richText.elements**

            -   *Type:* `string`
            -   *Default:* `"description"`
            -   *Label:* Rich text elements
            -   *Category:* Yellowpages2 > Company form

            Comma separated identifiers of form elements, which get the rich text editor. Elements with "dataType: richText" in the form definition get it, too.

        -   **yellowpages2.form.richText.translationsPath**

            -   *Type:* `string`
            -   *Default:* `"EXT:rte_ckeditor/Resources/Public/Contrib/translations/"`
            -   *Label:* Translations of the rich text editor
            -   *Category:* Yellowpages2 > Company form

            Folder with the translations of CKEditor 5 (e.g. de.js) for the language of the site. Without a translation, the editor is shown in English.
