This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Mohsin
Mohsin

One of my projects needed a dropdown selection to filter list. Unfortunately, at the time of writing this post OctoberCMS filters didn’t have such a filter by default. So I’ve made a widget-ish code to have this.

Here’s a demonstration of this: Video Demonstration

You can find the code here. To add it in your plugin, copy the widget into your plugin and change the namespaces to match your plugin namespace. Now see this commit to make the changes to your controller to make this work.

The github repo also works as a demo in case you simply want to evaluate this feature. It’s a mirror of the OctoberCMS Test plugin so just clone it into your plugins/october folder and name it test. Logout and login the backend and view the Users controller to see this filter in action.

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.