Page 1 of 1

Personal data - Privacy page

Posted: Mon Jan 29, 2024 12:41 pm
by lfernandes

How can I generate dynamically the content of the privacy page. Would it be editing directly the generated file or is there another way?


Re: Personal data - Privacy page

Posted: Tue Jan 30, 2024 6:28 pm
by MichaelG

You can customize the phrase in your language file:

<phrase id="PrivacyPolicyContent" value="Use this page to detail your site's privacy policy."/><!-- v2019 -->

Re: Personal data - Privacy page

Posted: Thu Feb 01, 2024 2:52 am
by lfernandes

How could you insert a text containing the privacy policy formatted in HTML?


Re: Personal data - Privacy page

Posted: Fri Feb 02, 2024 6:41 am
by MichaelG

html tags should be xml-encoded. For example:

<span>test</span>

becomes

&lt;span&gt;test&lt;/span&gt;

Re: Personal data - Privacy page

Posted: Thu Feb 29, 2024 10:41 pm
by lfernandes

Is it possible to include a reference to another HTML file containing the formatted text of privacy policy?


Re: Personal data - Privacy page

Posted: Fri Mar 01, 2024 6:57 am
by MichaelG

You can easily add a hyperlink to the text. For example (remember to xml-encode):

<p>Please visit <a href="..." target="_blank">help</a> for more details</p>