Personal data - Privacy page

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
lfernandes
User
Posts: 77

Personal data - Privacy page

Post 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?


MichaelG
User
Posts: 1110

Post 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 -->

lfernandes
User
Posts: 77

Post by lfernandes »

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


MichaelG
User
Posts: 1110

Post by MichaelG »

html tags should be xml-encoded. For example:

<span>test</span>

becomes

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

lfernandes
User
Posts: 77

Post by lfernandes »

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


MichaelG
User
Posts: 1110

Post 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>

Post Reply