---
title: "TypoScript constants"
version: "3.2"
permalink: "https://docs.typo3.org/permalink/dmind/cookieman:typoscript-constants@3.2"
source: "Configuration/Reference/TypoScriptConstants/Index.rst"
rendered: "2026-11-09T15:03:11+00:00"
---

# TypoScript constants {#typoscript-constants}

Adjust the TypoScript constants (again, either in a sys_template record or in a file in your site package).

All constants are prepended with `plugin.tx_cookieman.settings`.

## resourcesBasePath {#resourcesbasepath}

-   **resourcesBasePath**

    `|` *Data type:*
    `|` *Default:* EXT:cookieman/Resources
    `|` *Example:* EXT:mysitepackage/Resources
    `|`

    Path to directory that holds the themes. Default enables the shipped demo themes. See [Custom themes](https://docs.typo3.org/permalink/dmind/cookieman:customization@3.2) how to create a new theme.

## theme {#theme}

-   **theme**

    `|` *Data type:*
    `|` *Default:* bootstrap4-modal
    `|` *Example:* my-theme
    `|`

    Name of the theme. It is used to extend the [resourcesBasePath](https://docs.typo3.org/permalink/dmind/cookieman:resourcesbasepath@3.2) to create the full path to templates and assets.

    The shipped default themes are these: [Themes directory on Github](https://github.com/dmind-gmbh/extension-cookieman/tree/master/Resources/Private/Themes)

    You can check them out on our [Demo](https://docs.typo3.org/permalink/dmind/cookieman:demo@3.2) page.

    Of course you can use your own custom theme (see [Custom themes](https://docs.typo3.org/permalink/dmind/cookieman:customization@3.2)).

## links.dataProtectionDeclarationPid {#links-dataprotectiondeclarationpid}

-   **links.dataProtectionDeclarationPid**

    `|` *Data type:*
    `|` *Example:* 123
    `|`

    page UID of data privacy statement page - the *Cookieman* modal will not be automatically opened on this page
    (see [When is the popup shown to users?](https://docs.typo3.org/permalink/dmind/cookieman:when-is-it-shown@3.2)).

## links.dataProtectionDeclarationAnchor {#links-dataprotectiondeclarationanchor}

-   **links.dataProtectionDeclarationAnchor**

    `|` *Data type:*
    `|` *Example:* c456
    `|`

    You can set an (optional) anchor (TYPO3-lingua "section") on the data privacy statement page.

## links.imprintPid {#links-imprintpid}

-   **links.imprintPid**

    `|` *Data type:*
    `|` *Example:* 123
    `|`

    page UID of imprint page - the *cookieman* modal will not be automatically opened on this page
    (see [When is the popup shown to users?](https://docs.typo3.org/permalink/dmind/cookieman:when-is-it-shown@3.2)).

## links.imprintAnchor {#links-imprintanchor}

-   **links.imprintAnchor**

    `|` *Data type:*
    `|` *Example:* c456
    `|`

    You can set an (optional) anchor (TYPO3-lingua "section") on the imprint page.

## minify {#minify}

-   **minify**

    `|` *Data type:* [boolean](https://docs.typo3.org/m/typo3/reference-typoscript/14.3/en-us/Syntax/StringFormats/Index.html#data-type-boolean)
    `|` *Default:* 1
    `|`

    Cookieman comes with both minified and regular stylesheets and JavaScripts for the demo themes.

    It set to `1`, the minified versions of the .css and .js files are used.
    You can set it to `0` for debugging purposes.
