Select multiple records and drag
Happy to share, Jeff and all. Certainly feel free to include, Jerry. Hopefully others find it useful.
Andreas - Agreed. For this plugin I was able to utilize the list page "selected records" checkboxes, so unfortunately it wouldn't work for section editor field sorting. However, I do believe that capability is part of the multi-select drag/drop sorting wishlist item Dave wanted to look into.
Glad to hear it's getting some use, and I appreciate the feedback! I'd noted this as well and plan to have a think on it.
In the meantime, you can easily add values to the per page drop down list by modifying this:
Line 180 in latest CMSB v3.61
<?php echo getSelectOptions($metaData['perPage'], array(5, 10, 25, 50, 100, 250, 1000)); ?>
Just make note of the change for future cmsb upgrades.
Thanks, and please let me know of any other feedback!
Just following up on this. Can you tell me more about the situation where you need to change the order and have thousands of records? I want to get a better understanding of that to see if there's a solution that's better suited.
It's for a shopping site. They have 2,500+ products and sometimes need to change the order of item(s) to group similar items together. We've looked at tags and other ideas but, because there are no hard rules as to when/where items should be grouped, a system that can be used adhoc appears to be the best idea.
Steve's plugin is actually spot-on. The only downside is that is doesn't work across pages.
In this instance adding an option for 3,000 records per view gets around the problem. It is a little sluggish viewing 3,000 items at once, but we only need to use it temporarily while moving the records. It does alter core cmsB files, so I'll have to remember to update it each time I upgrade. If it's possible to add a function to General Settings to change the max number of records per view that would be great. Maybe it should come with a warning that it will affect performance – but most people using cmsB would be at a level that they understand that.
For everyone who was asking about improved multi-record drag sorting for the Section Editors, we've added that in the new beta. Come give it a try:
As always, thank you for your ongoing feedback, support and suggestions!