<!-- TITLE: Rodo - Magento 2 module documentation--> <!-- SUBTITLE: Autor: Aurora Creation --> # Rodo Module ## Module overview The module allows you to add a checkbox with the GDPR information clause in the registration form and the contact form. ## Module compatibility This module is compatibile with Magento Community versions: **2.2**, **2.3** i **2.4**. ## How it works In order for the clause to be displayed correctly, you should add a block with content in the administration panel. ### Module configuration Head to the Admin Panel. There, go to: **Stores > Configuration** and **Aurora > RODO**. ![Rodo 2](/uploads/rodo/config.png "Rodo 2") In the module configuration, we have the following options: **Enable on Contact page** - show a block with a clause on the contact form page. **Contact RODO title** - page title, that will be used on the contact page form. **Contact RODO statement** - RODO statement, that will be used on the contact page form. **Enable on Register page** - show the block with the clause on the registration form page. **Register RODO title** - page title, that will be used on the registration form page. **Register RODO statement** - RODO statement, that will be used on the registration form page. After saving and refreshing the cache. The block with the checkbox and the clause will appear in the appropriate place. ## Installation ### Composer 1. Add repo to composer.json: ```"repositories": [ ... { "type": "vcs", "url": "git@git.auroracreation.com:magento2/rodo.git" } ... ], ``` 2. Add package to composer.json: ```text "require": { ... "aurora/rodo": "~1.0" ... }, ``` 3. In Magento root folder run commands: ```text composer update aurora/rodo php bin/magento module:enable Aurora_Rodo php bin/magento setup:upgrade ``` ### Manual 1. Unzip archive 2. Upload extension files on your server to: ```text {Magento root} └── app/ └── code ``` 3. In Magento root folder run commands: ```text php bin/magento module:enable Aurora_Rodo php bin/magento setup:upgrade ``` ## Changelog ### v2.0.3 - Update GitLab CI/CD. - Code refactoring - coding standards, type hints. ### v2.0.2 - Add fields for consent titles in the module configuration. - Display the content and titles of consents in forms using view model. ### v2.0.1 - Add textarea fields for the content of consents in the module configuration. ### v1.0.2 - Add Gitlab CI/CD. ### v1.0.1 - Module init. ### Thank you for your interest in our products!