I am trying to put together a working login section in a 1.4.11 test site using FormLister based on the documentation and great examples provided at
https://modx-gu.ru/formlister/.
I am a bit stuck on a few things and need a FormLister / login expert.
The FormLister login seems to be working quite well. We are wanting to show some website content (protected pages) only to logged in Web Users.
I have created the Web Access Permissions (Web User Group and Reource Group) and this seems to work on a test page...
* if a web user logged in, the page shows as normal. this is great
* if not logged in, the page shows the 404 error when trying to access. this is ok but what I would prefer:
- show a message on protected pages saying "you need to be logged in to view this content" rather than the 404. Do you know how to achieve this? Somehow with a TV?
- the link to the protected page is still visible in the DLMenu menus (eg in the sub menu and 404 sitemap menu). Is there a way to hide / exclude protected pages from DLMenu and DocLister menus? I tried this in the filtering but it did not seem to work: content:c.private:is:1;
Any ideas? Thanks so much