Save the current list setup and filter values for quick reporting in all ListControllers. Interface is provided via a custom filter widget and is automatically added to all ListControllers that allow list setup and/or filters
Save the current list setup and filter values for all ListControllers. Interface is provided via a custom filter widget and is automatically added to all ListControllers that allow list setup and/or filters
Installation
Requirements
- OctoberCMS 3.x
Composer
composer require sixgweb/listsaver-plugin
Marketplace
Add the plugin to your project via the OctoberCMS Market Place.
Command Line
php artisan project:sync
Backend Installer
In the Backend, visit Settings->System Updates->Install Packages press the Sync Project button.
Permissions
Access Lists
User can access ListSaver and save/load their private lists or public lists (if sharing enabled and has permission). Users can always delete their own lists.
Share Lists
User can set lists as public/private when saving, if list sharing enabled.
Access Settings
User can access ListSaver settings
Settings
Allow List Sharing
Allow users with permission to set list as public or private. Other users will see all public lists.
Use ListSaver Name as List Export File Name
When Exporting List Results, use the selected ListSaver value as the export filename.
Usage
Save Current List/Filters
Once your list setup and filters are in place, press the List Saver button, name your list and press save. If list sharing is enabled and you have permission, click the gear icon to set list to public/private before saving.
Load List/Filters
Click the list saver button and select from your currently saved lists. If list sharing is enabled, you will see all public lists.
Events
listSaverPreferencesQuery
Opportunity for 3rd party developers to modify the preferences query.
Event::listen('sixgweb.listsaver.listSaverPreferencesQuery', function (&$query) { $query->whereNotIn('id', $this->getUserIgnoreListSaverPreferences()); });
-
This plugin has not been reviewed yet.
-
1.0.22 |
Use scopeName property instead of getName method to avoid array prefix changes in OCMS 3.7.4 Nov 08, 2024 |
---|---|
1.0.21 |
Fix call to Tailor Entries ListGetConfig missing parameter Oct 29, 2024 |
1.0.20 |
Check for listSaver actions in list_config.yaml to enable/disable listSaver on specific controller actions Oct 18, 2024 |
1.0.19 |
Add checked to list column and new event sixgweb.listsaver.applyScopeToQuery Sep 14, 2023 |
1.0.18 |
Declare missing $options variable in settings Sep 10, 2023 |
1.0.17 |
Add enabled paths setting to limit ListSaver to specific paths. Sep 09, 2023 |
1.0.16 |
Call extendScopeUpdateResponse event to allow other plugins to extend the filterWidget response data. Jul 12, 2023 |
1.0.15 |
New setting to use the ListSaver name slug for the list export file name. Extend export config to use ListSaver name, if setting enabled. May 24, 2023 |
1.0.14 |
Add search term to preferences table and save search term during list saver creation, once enabled in OCMS core. May 24, 2023 |
1.0.13 |
Always refresh widget content on ajax requests and update javascript logic May 11, 2023 |
1.0.12 |
Fix javascript errors and add some documentation May 10, 2023 |
1.0.11 |
Add css classes for all filter update events May 09, 2023 |
1.0.10 |
Move popover close logic to JS, add css classes for firefox support, use flex order instead of event listener priority and fix switch line-height May 09, 2023 |
1.0.9 |
Add backend user id, public/private lists, share settings/permissions and event for extension May 05, 2023 |
1.0.8 |
Trigger list.extendColumns to load other plugin columns definitions, before refreshing the list. May 05, 2023 |
1.0.7 |
Fix blueprint_uuid migration May 05, 2023 |
1.0.6 |
closePopover return data, use getEventHandler and add refresh listener check May 02, 2023 |
1.0.5 |
Flex align and button style May 02, 2023 |
1.0.4 |
Update readme May 02, 2023 |
1.0.3 |
Check if controller action is index May 02, 2023 |
1.0.2 |
Add blueprint uuid to preferences table May 01, 2023 |
1.0.1 |
First version of list saver May 01, 2023 |