nabo Posted March 28, 2019 Posted March 28, 2019 Hello is there a way to find users using Page Lister? I know that I can use Access Lister under Users... but what I really need is the bookmark feature that unfortunately is not presente here.
adrian Posted March 29, 2019 Posted March 29, 2019 It's a bit dinky, but it works and can be bookmarked 3
Robin S Posted March 29, 2019 Posted March 29, 2019 Another way via a hook in /site/ready.php: $wire->addHookBefore('ProcessPageLister::execute', function(HookEvent $event) { // Only for main "Find" lister if($event->wire('page')->name !== 'lister') return; $lister = $event->object; $lister->allowSystem = true; }); This (and @adrian's suggestion) will only work for superusers because non-superusers are not allowed to view user pages. 4
nabo Posted May 29, 2019 Author Posted May 29, 2019 On 3/29/2019 at 6:22 AM, adrian said: It's a bit dinky, but it works and can be bookmarked I've tried... but I don't get any results... this is the selector in use: has_parent!=2, _custom="template=user", limit=25, sort=-modified, include=unpublished I also would like to display ProcessPageLister in a custom module $pl = $this->modules->get("ProcessPageLister"); $pl->defaultSelector = "template=3, parent=29, include=all, limit=100, status<9999999, sort=name"; $out = $pl->execute(); return $out; but... this is the result
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