rkw / rkw-privacy
Extension for Compliance with General Data Protection Regulation (GDPR)
Installs: 68
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
pkg:composer/rkw/rkw-privacy
Requires
- php: >=7.4
- typo3/cms-core: ~9.5.0 || ~10.4.0
Suggests
- sgalinski/sg-cookie-optin: ~4.4.0
This package is auto-updated.
Last update: 2025-10-30 18:59:52 UTC
README
This extension comes with two main features:
Copying privacy information
If you are using ext:sg_cookie_optin in a multi-domain-setup you normally have to create a privacy-dataset for each domain, even if this means a lot of copy and paste. Using this extension you can create one privacy-dataset and copy it automatically in every domain you need.
- Just define a storagePid of the dataset you want to use via TypoScript
plugin.tx_rkwprivacy {
	settings {
        sgCookieOptIn {
            # cat=plugin.tx_rkwprivacy//a; type=int; label=Pid to load data from
			storagePid = 1
		}
    }
}
- Define the pid for imprint and privacy-declaration via TypoScript
plugin.tx_rkwprivacy {
	settings {
	    # cat=plugin.tx_rkwprivacy//a; type=int; label=Pid of data protection declaration
        dataProtectionPid = 1921
        # cat=plugin.tx_rkwprivacy//a; type=int; label=Pid of imprint
        imprintPid = 409
        sgCookieOptIn {
            # cat=plugin.tx_rkwprivacy//a; type=int; label=Pid to load data from
			storagePid = 1
		}
    }
}
- Run vendor/bin/typo3 rkw_privacy:generateStaticFilesvia CLI - ready!
JavaScript-object for imprint and privacy-declaration
This extension automatically adds a JavaScript-object to your page, which refers to the configured pages for imprint and privacy-declaration. This can be useful if you need this information in some JavaScripts you use.
Example:
<script type="text/javascript">
    var rkwPrivacy = {
        imprint : {
            url : 'http://rkw-bremen.rkw.local/impressum/',
            name : 'Impressum'
        },
        declaration : {
            url : 'http://rkw-bremen.rkw.local/datenschutzerklaerung/',
            name : 'Datenschutzerklärung'
        }
    };
</script>