joe_g Posted February 14, 2022 Share Posted February 14, 2022 Hi, selecting repeater items only works if i'm logged in If i'm not logged in this gives an empty result $pages->find('template=repeater_times') How can I make this work when I'm logged out? thanks Link to comment Share on other sites More sharing options...
Gideon So Posted February 14, 2022 Share Posted February 14, 2022 Hi @joe_g Try add check_access=0 to your selector. https://cheatsheet.processwire.com/selectors/built-in-page-selector-properties/check_access-0/ Gideon 2 Link to comment Share on other sites More sharing options...
joe_g Posted February 14, 2022 Author Share Posted February 14, 2022 Very nice. That worked, thanks. That lead me to try at set the access. check_access=0 feels like a workaround. But, somehow it doesn't work with guest access enabled - You wouldn't happen to know why? Link to comment Share on other sites More sharing options...
Gideon So Posted February 15, 2022 Share Posted February 15, 2022 Hi @joe_g Repeaters are actually pages resides under the admin page which is not accessible to roles other than superuser. Gideon 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now