• Closed by: Marek
  • Closed on: 12.12.18, 16:00
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12911 - GDPR

how can I integrate {hook h=’displayGDPRConsent’ id_module=$id_module} in the newsletter form?
Thank’s

Comments

Marek 15 Sep 2018, 11:28

Hi, Francesco.
As I can see you have to find out Newsletter module ID. Here is tutorial http://take.ms/KZJPM

Then ad that code to the file /themes/alysum/modules/ps_emailsubscription/views/templates/hook/ps_emailsubscription.tpl

Francesco Pepoli 15 Sep 2018, 12:08

thanks solved I was able to fix the consent icon by modifying the displayGDPRConsent.tpl page.
I send you the change that can serve you for others

<label class="psgdpr_consent_message">
            <input id="psgdpr_consent_checkbox_{$psgdpr_id_module|escape:'htmlall':'UTF-8'}" name="psgdpr_consent_checkbox" type="checkbox" value="1">
            <span><svg class="svgic svgic-done"><use xlink:href="#si-done"></use></svg></span>
          <!--  disabilitazione codice originale   <span><i class="material-icons rtl-no-flip checkbox-checked psgdpr_consent_icon"></i></span>  -->
            <span>{$psgdpr_consent_message nofilter}</span>{* html data *}

Thank’s

Marek 15 Sep 2018, 12:18

Thank you for sharing the solution