• Resolved joshualewis

    (@joshualewis)


    When viewing the media list you have to set the folder for each photo/item then check the checkbox, click the dropdown, click Move to selected folder, then click apply. And of course if you are doing this for a dozen photos this makes it a lot of clicks due to having to set the folder for each image. I’m certainly in favor of keeping this behavior for those who want to manage many files in different folders in a speedier fashion.

    I suggest creating a new option in the actions menu called Move to Specific Folder which would allow you to select the folder for all selected files to go. A new dropdown menu could appear besides the actions menu with all the available folder choices. The apply button would send the selected files to the specified folder, hence reducing a lot of clicks for mass file organizing and would save a lot of time.

    On a side note would be great if Insert Media and Create Gallery had a way to add items into an existing or new folder. For adding media to current folder it could have a plus button next to “All folders” which would simply behave like the apply button for the currently selected folder. As for quickly creating a new folder, the folders dropdown could have the top option say Create New Folder. Having these would make folder/file management an absolute breeze!

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Thanks your idea.
    I’ll think about it.
    Do not expect too much.

    Thread Starter joshualewis

    (@joshualewis)

    Don’t worry, not too expecting. I can add screen shots for easier understanding if you would like. This plugin is very close to being the perfect folder management tool for WordPress, the suggestions I gave are all my ideas poured into a single post. ??

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Please show me screenshots.

    Thread Starter joshualewis

    (@joshualewis)

    Suggestion 1: Moving mass files to specific folders

    Select the action to perform for all selected images

    Select the action to perform for all selected images

    A new dropdown appears that lets you select the folder to move to

    A new dropdown appears that lets you select the folder to move to

    This method takes 5 clicks (4 if the new dropdown auto opens). It could be reduced to 3 clicks if the dropdown existed without the assistance of the actions menu:

    Independent variation

    Suggestion 2: Quickly adding new media to folders:

    Move selected to folder option is next to Insert into page button

    Move selected to folder option is next to Insert into page button

    • This reply was modified 7 years, 6 months ago by joshualewis.
    • This reply was modified 7 years, 6 months ago by joshualewis.
    • This reply was modified 7 years, 6 months ago by joshualewis.
    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    How did you add the dropdown menu of your screenshot?
    I can not find a filter hook for it.

    Thread Starter joshualewis

    (@joshualewis)

    I used Firebug to generate that by copying DOM elements. It’s 100% non functional but is visually precise on how I would make it. Due to not being a PHP guru, I’d either hide the dropdown until “Move to specific folder” was selected or append a new select element with it’s corresponding options via jQuery.

    	$("#bulk-action-selector-top").change(function(){
    		if ( $(this).val() == "specificFolder" ) { 
    			// load the new menu
                    else {
                        // hide the menu if specificFolder not selected
                    }
            }
    }

    A more complicated example of select options opening more options: https://jsfiddle.net/N7Xpb/1/

    Thread Starter joshualewis

    (@joshualewis)

    Deleted due to accidental duplicate due to internet disconnect.

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    What I want to ask is not “Bulk Actions”.
    How was the new dropdown menu on the right side of “Bulk Actions” created?

    Thread Starter joshualewis

    (@joshualewis)

    I simply modified the DOM via the HTML tab of Firebug and selected the appropriate element. Then I wrote a Select element along with it’s respective option elements. Of course this is only visible on my end, a working solution for everyone would be to insert the select element after the Bulk Actions menu.

    $( "<select name="specificFolder" id="specificFolder">
        <option value="newFolder">New Folder</option>
        <option value="landscape">Landscape</option>
        <option value="ect">Ect</option>
    </select>" ).insertAfter( "#bulk-action-selector-top" );

    Inserting the new menu should be straight forward with jQuery. Populating the menu and having each selected item go to that specific folder is the part I’m not good with due to lack of PHP knowledge.

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Thanks!!

    jQuery insertAfter !!

    Thanks!!

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    Starting with version 6.05, it is now possible.
    Thanks your feedback.

    Hello.

    Maybe i’m blind …. but i do not see the Entry “Bulk Action” in the first Drop Down List, therefore nor do i see the second one with the desired folder…

    Cheers

    Kai

    Thread Starter joshualewis

    (@joshualewis)

    Been very busy hence the delayed response. The bulk selector should only change the folder selection of the media items checked within the checkbox. The current behavior selects everything (including non selected media items). Ideally it should only change the media items that are checked so that we can pick specific items to put within a folder.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Moving Files into folders by bulk’ is closed to new replies.