Recently Browsing 0 members
No registered users viewing this page.
Hey all. I'm having an issue with the new custom page classes feature which is a fantastic tool.
I am running into a recursion issue when attempting to call a custom page class. I have a class called BlogPostPage.php (for blog-post.php) which contains a method called getSummary(). That method gets a summary field or truncates the body in it's absence. I've attached photos of the template code, custom page class code (which I've simplified for testing), and the PW output error.
There is no recursion in the getSummary() method. This error occurs whether I output multiple blog posts in a loop or if I output one blog post with no looping in my template code.
ProcessWire 3.0.164 dev
I am also using the Template Engine Twig module which has not caused any errors or issues thus far.
for a client website I need to implement a "reviewer" role. "Reviewers" should be able to review new (unpublished) articles to give feedback to editors, but not have the permission to change them.
I built a new "reviewer" role that only has page-view permissions for the respective templates, but this permission does not include viewing unpublished pages. How can I grant them access to the unpublished articles without giving them page-edit permission?
I want my editors to be able to use the page lister, especially the bookmarks. I added the page-lister permission to the editor role, but Page lister ("Find" menu item) does not show. Is there anything else I have to do? Links to bookmarks work for the editors, but I would be glad to show them the menu item as well.
Maybe this has something to do with the long history of the site (started with ProcessWire 2.4 and upgraded to 3.0.148 over the years)?
By Peter Knight
My .htaccess file is correctly redirecting all requests to
https:// www. That's great until I want to work locally.
I thought I had seen a blog post by Ryan where there was a new config setting to ignore both of these if working from localhost?
I can't find it now so wondering if I was imagining 😕