Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

How do I remove Login requirement for so called 'public' pages?

Solved by Chris View solution

Started by Chris 4 years ago · 6 replies · 539 views
4 years ago

Comlplete newbster here so forgive any pathetic failings on my part!

I installed Learn2 a while ago and it seems that (while I know I need a login for the /admin path) the site pages are not accessible until a username/password pair is entered. I don't want that - I simply want the site to be public. How on earth do I switch this requirement for a login to be off?

Assistance and advice gratefully accepted!

Chris

4 years ago

Welcome!

The login plugin won't do this unless you set it up that way. My feeling is that this will be the learn2 theme (or did you install the skeleton?). I'm not sure if you are editing your site through Admin or by editing the configuration files.

Have a look in a couple of places for clues to why pages are locked off:

  • login plugin settings that may have been overwritten by learn2, maybe parent_acl, user_registration.default_values.level (complete list)
  • any custom access permissions set on top level pages

Perhaps someone who knows learn2 better can be more helpful.

1 reply
4 years ago Solution Hugh Barnes Welcome! The login plugin won't do this unless you set it up that way. My feeling is that…

Hello hughbris and thanks for your support!

I thought I had installed from a skeleton but I recall I had a couple of issues. I chose to kill that installation and seem to think I then simply installed GRAV, added the LEARN2 theme. That worked fine and I have added a load of pages since.

I am editing the site through /admin - I rarely look at the config files.

As for looking at the choices offered, I would be happy to peep but have no idea where those settings can be found! Similarly, with custom access permissions, I don't beleive any have been set.

Sorry to be a useless dweeb!

Chris

Suggested topics

Topic Participants Replies Views Activity
Support · by Paul Hodges, 4 weeks ago
19 490 6 days ago
Support · by Lauw, 1 week ago
2 107 1 week ago
Support · by Anna, 3 weeks ago
4 429 1 week ago
Support · by gtx, 4 weeks ago
4 380 3 weeks ago
Support · by Anna, 1 month ago
9 487 4 weeks ago