yea - that’s the tutorial I’ve been using, just about to try it again.
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525
Quote from: Mark at Jul 15, 2010, 09:03 AM
I’ve started writing a tutorial... can be found here: http://svn.modxcms.com/docs/display/revolution/(Tutorial)+Making+member-only+pages
Check if you did everything.
Open another browser to check (another browser, not just another browser window or tab).
By default, if you don’t give anonymous users permissions to "load" the resource they will get a 404 error. There’s a section in Bobs’ guides about that.
mother-francis that was confusing.... I think I found the problem [well it’s working now]
Something to add to your tutorial, ’check that the user has a role’
also, when flushing permissions, that user you are trying to test has to log out then log back in again in order to see the changes in access.
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525
OK - what the heck is going on here..... If I flush all my browser caches then delete all cookies and disable cookies entirely -
I can see all the protected pages from my resource groups, I can see them and access them!!!
that can’t be right, what could possibly be happening there????
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525
-
MODX Staff
- 10,725 Posts
Did you protect them in the mgr or web context?
hmmmm it seemed to have something to do with Bobsguide
* Create a new Access Policy called "Load" and add a single Permission: Load.
* Create a new Resource Group Access ACL entry for the anonymous User Group with the Resource Group of the protected resources, a Context of "web," a Role of "member" and an Access Policy of "Load." Do this for each protected Resource Group
I removed that and it appears to be working again [as expected]
But still some other little oddities... I have:
[[!Login? &loginResourceId=’59’ &logoutResourceId=`61`]]
for login, but it seems to only redirect to the login page if you have not already started browsing the site otherwise it logs you in and stays on the current page ... ok - that makes some sense.... but I do need to enforce a login page....
rrrrr.
-sean
*** Not just websites, we also create signage, banners, print, trade show displays and more! ***
Sean Kimball CLP, CLS.
Technical Director / Sr. Developer | BigBlock Studios
._______________________________________________.
Bigblock Studios
http://www.bigblockstudios.ca Web site design & development.
27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
phone/fax: 905-426-5525