Dnn.Platform icon indicating copy to clipboard operation
Dnn.Platform copied to clipboard

[Enhancement]: Move privacy, terms and others from language resources into default pages

Open enfJoao opened this issue 9 months ago • 3 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Description of problem

In order to change these pages, new users have to navigate to language resources (very hidden feature) and edit the content in a text box.

Description of solution

The same way DNN ships with some default pages (home page, activity feed, etc), perhaps it should also include one page for each of these options, where admins could easily see, edit, replace or delete the content. Every resource field with rich text could benefit from this.

As it is, users are redirected to these virtual pages that they cannot edit and cannot access (they are not on the page list).

They will have the option to create these pages manually and set them in site settings behavior, but it would be a nice start touch.

Description of alternatives considered

No response

Anything else?

No response

Do you be plan to contribute code for this enhancement?

  • [ ] Yes

Would you be interested in sponsoring this enhancement?

  • [ ] Yes

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

enfJoao avatar Feb 10 '25 10:02 enfJoao

Users can already create their own pages for that and set those in Site Settings like so

Image

But we still need a fallback as not every theme can be assured to have those pages in their templates or even existing sites to have those pages upon upgrades. Then even if that worked we would have to maintain all the localizations ourselves.

valadas avatar Feb 10 '25 18:02 valadas

I think it's worth further discussion around whether it makes sense to include privacy and terms pages in the default template. It would simplify things for a lot of users if it was in place by default. There would still be the ability to remove them and use the virtual/fallback URL, but most site administrators would benefit by seeing that page out-of-the-box.

bdukes avatar Feb 10 '25 18:02 bdukes

The perspective for new users is very different than the one from a DNN veteran.

A newcomer will see existing content from terms or privacy, but will go around for hours trying to figure out why this content that seems a page is not on the page list. And clicking the edit page on that content does nothing.

The language resources setings will be dark magic for a very long time.

Terms and privacy are content, not resources to be translated by the CMS resources. And it will need to be changed in every installation, not by translation needs, but for content adaptation to the company. So the need to create a custom page for terms and provacy will emerge 99% of use cases, anyway. Might as well ship DNN with the feature.

enfJoao avatar Feb 10 '25 19:02 enfJoao

I like the idea, but what module is going to show the content on an ML site? The advantage of the current solution is that with the right language packs you automatically get ML texts for these pages

Timo-Breumelhof avatar Sep 04 '25 16:09 Timo-Breumelhof

These features will always be demos in need of heavy changes for any serious website, so treat them like such.

The home page is a nice example. A default page with some nice html modules to showcase the purpose. Then change it.

The lang resources will not have the translated text for them. Perhaps the dnn community website could. For copy-paste.

enfJoao avatar Sep 04 '25 18:09 enfJoao