seanmvincent Posted May 20, 2016 Share Posted May 20, 2016 Hi everyone, I'm trying to make an admin page dedicated to listing a certain part of the page tree (it contains pages representing categories). I can create the admin page easy enough but am having trouble reusing the ProcessPageList module to list just the part of the page tree I want (my "categories"). I thought it would be simple seeing as though you can easily specify a root id for the ProcessPageList module - but I can't get it working! So far I have simply copied the ProcessPageList module to my modules directory and renamed the files and classes etc to CategoryList. I've then installed it in the admin and assigned it's process to my admin page. But, as I said, it isn't workin (it doesn't show ANY page tree let alone the ones I want). I know that I could technically use bookmarks, but the users of the site would find it easier to not have to think of the categories as pages. It doesn't make sense to them. Can anyone help? Link to comment Share on other sites More sharing options...
cstevensjr Posted May 20, 2016 Share Posted May 20, 2016 Maybe this Module can help you http://modules.processwire.com/modules/admin-restrict-branch/ 1 Link to comment Share on other sites More sharing options...
seanmvincent Posted May 20, 2016 Author Share Posted May 20, 2016 Thanks @cstevensjr I'll check it out. I still want to have a separate admin page for them to use though (rather than the usual "Pages" page). So I'd have to modify this in some way so it doesn't affect the regular list and only my "Categories" list. Maybe? Link to comment Share on other sites More sharing options...
tpr Posted May 20, 2016 Share Posted May 20, 2016 I use this for such a thing, eg creating a new admin section for form submissions: https://processwire.com/talk/topic/1272-new-page-nav-in-admin/ 1 Link to comment Share on other sites More sharing options...
seanmvincent Posted May 27, 2016 Author Share Posted May 27, 2016 Hey tpr. That's exactly what I wanted thanks! I'll try it out Link to comment Share on other sites More sharing options...
seanmvincent Posted May 27, 2016 Author Share Posted May 27, 2016 Worked perfectly. Thanks heaps! 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