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¶
- Property
resourcesBasePath
- Data type
- Default
EXT:cookieman/Resources
- Example
EXT:mysitepackage/Resources
- Description
Path to directory that holds the themes. Default enables the shipped demo themes. See Custom themes how to create a new theme.
theme¶
- Property
theme
- Data type
- Default
bootstrap4-modal
- Example
my-theme
- Description
Name of the theme. It is used to extend the resourcesBasePath to create the full path to templates and assets.
The shipped default themes are (each showcase the functionality a bit differently):
bootstrap3-banner
: needs Bootstrap 3; uses a text link "settings" instead of a button; shows "Accept all cookies" only after opening the settings; uses custom accordion CSS to show opened/closed state (+/x) and enhanced checkboxesbootstrap3-modal
: needs Bootstrap 3, uses custom CSS on the "settings" button and the accordion to show opened/closed state (⯈/⯆), shows the checkboxes inside left of the accordion headerbootstrap4-modal
: needs Bootstrap 4, uses custom CSS on the "settings" button and the accordion to show opened/closed state (+/x), shows the checkboxes inside right of the accordion header
You can check out the Demo or see the Screenshots to get an idea.
Of course you can use your own custom theme (see Custom themes).
links.dataProtectionDeclarationPid¶
- Property
links.dataProtectionDeclarationPid
- Data type
- Example
123
- Description
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?).
links.dataProtectionDeclarationAnchor¶
- Property
links.dataProtectionDeclarationAnchor
- Data type
- Example
c456
- Description
You can set an (optional) anchor (TYPO3-lingua "section") on the data privacy statement page.
links.imprintPid¶
- Property
links.imprintPid
- Data type
- Example
123
- Description
page UID of imprint page - the cookieman modal will not be automatically opened on this page (see When is the popup shown to users?).
links.imprintAnchor¶
- Property
links.imprintAnchor
- Data type
- Example
c456
- Description
You can set an (optional) anchor (TYPO3-lingua "section") on the imprint page.