Jump to content

ProcessWire Dashboard


Recommended Posts

@TomPich Nothing built in, so far. Philosophically, I've seen the dashboard as a jumping-off point for users to get oriented, then go off somewhere else in the admin to do more serious work. My suggestion would be configuring a separate admin Lister page with filters, or building a custom Process module if you're feeling adventurous.

That said, there are ways of doing this manually:

Option 1: render a select input using a `template` type panel, with some JS to auto-submit the form on change. In your php file defining the available dashboard panels, you can then use that input parameter to pre-filter the results. This only works smoothly with selects where a full page reload is acceptable UX, so text inputs would require a different solution.

Option 2: create multiple panel tabs, one tab for each available filter option. Still, not very useful for text inputs.

  • Like 1
Link to comment
Share on other sites

@d'Hinnisdaël Thank you.

I’ll explore your suggestions. I’m not sure what you mean by "configuring a separate admin Lister page with filters". But it sounds like being quite straight forward.

For now, I’ve been building a custom panel following your documentation. Seems a lot of work. I’m getting somewhere, but I’d rather respect the spirit of your module and and choose a more clever solution to achieve my goal.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
On 2/16/2022 at 1:45 AM, adrian said:

Hi @d'Hinnisdaël - I wonder if you'd be willing to support loading a tab directly from the hash in the URL please?

Thanks for considering.

@adrian did you work out if this was possible? Was wanting to do the same thing. Cheers!

Link to comment
Share on other sites

  • 1 month later...

Hi @d'Hinnisdaël,
Just wanted to say (again) how awesomissimo is your module. It’s a real asset in the scale when trying to convince a client to switch from WP to PW.
They often fear to be lost with a new admin interface. But thanks to Dashboard, I can demonstrate how easier it is. ?

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

Thanks for your great module!

How can i enable editing of users in a collection (template=user) for non-superusers (user-admin permission on role and template granted)?

thanks!!

Link to comment
Share on other sites

@kater Unfortunately this isn't currently doable — there are some quirks around how ProcessWire determines if a user page is editable or not. Inside the Dashboard, there's no way of knowing whether a user page is editable by the current user. See this open issue and this one for more details on why this is the case.

  • Thanks 2
Link to comment
Share on other sites

  • 2 weeks later...

Filter / Search in collection?

Thanks again for your awesome work.
Which approach would you suggest, to add some (dynamic?) filter/search functionality to the collection panel?

Atm, i'm just altering the find via form and reloading the panel.

thanks!

 

Link to comment
Share on other sites

21 minutes ago, kater said:

Which approach would you suggest, to add some (dynamic?) filter/search functionality to the collection panel?

There's no search/filter functionality built into the module. The way I've previously done this is by rendering a custom select dropdown in a template panel, and hard-reloading the page with a query param. Not very elegant, but right in line with the requirements. This seems to be where others have landed as well. Anything more complicated, it's best to manage that in a module built for wrangling large amounts of data. A custom ProcessPageLister page or the commercial PageListerPro module have worked well in the past.

  • Thanks 1
Link to comment
Share on other sites

1 hour ago, d'Hinnisdaël said:

A custom ProcessPageLister page or the commercial PageListerPro module have worked well in the past.

I have ListerPro available.
May i ask by which panel you displayed it?

thanks

Link to comment
Share on other sites

14 minutes ago, kater said:

I have ListerPro available.
May i ask by which panel you displayed it?

I was suggesting you link to a separate page that is handled by ListerPro. I don't think it's possible to render a ListerPro page into a dashboard panel. If you absolutely require filtering in a dashboard panel, I'm afraid you'll have to develop that yourself as there's really no ready-to-go solution available yet.

  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...