Hi Everyone,
I am using the tutorial from
http://rtfm.modx.com/display/revolution20/Making+Member-Only+Pages for a Member’s Only section. After I follow the directions and assign a page to my Resource Group called "Protected", the page disappears in my Wayfinder Snippet. Has anyone experienced this and can you point me in the direction?
Thanks,
Lee
-
- 13 Posts
Are you a member of Protected group? Too see content that belongs to certain group you need to be a member of this group.
I think you want to make full menu and restrict access after entering "Protected page", right? If I remember right you need to allow loading resource, it`s "Loading only" attribute value. That should make resource available to load, but can’t be viewed unless allowed.
So...playing around a little more. I got it to work by the following steps:
1. Follow
http://rtfm.modx.com/display/revolution20/Making+Member-Only+Pages for the Members Only page
2. Create another page for the Members Only login using
http://rtfm.modx.com/display/ADDON/Login.Basic+Setup as a reference
3. On the Members Only login page I put the following which redirects to the Members Only page after a successful login:
[[!Login? &loginTpl=`lgnLoginTpl` &logoutTpl=`lgnLogoutTpl` &errTpl=`lgnErrTpl` &loginResourceId =`10` &logoutResourceId=`1`]]