• Resolved klihelp

    (@klihelp)


    I think it’s better to have the subfolders box above the images box.
    On any Folder page with lots of images it’s hard to it’s hard to discover that there is subfolder box, because it’s pushed down … and you have to scroll a lot to find that box.

    It easier to find the images box after the subfolder box.

    And would be good to add a line to the Info (publish) box, that is visible right away when you open the folder page
    eg.
    Subfolders: 4
    Images: 123

    https://www.ads-software.com/extend/plugins/eazyest-gallery/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Marcel Brinkkemper

    (@macbrink)

    remove_action('eazyest_gallery_after_folder_content','ezg_subfolders',5);
    add_action('eazyest_gallery_before_folder_content','ezg_subfolders',6);
    Thread Starter klihelp

    (@klihelp)

    This filters are not working on admin side.

    Plugin Author Marcel Brinkkemper

    (@macbrink)

    Okay, missed that part ??

    remove_action('edit_form_after_editor',array(eazyest_gallery(),'list_table_attachments'),1,1);
    add_action('edit_form_after_editor',array( eazyest_gallery(),'list_table_attachments'),3,1);

    no guarantee this works…

    Thread Starter klihelp

    (@klihelp)

    I couldn’t make it work.

    ps: the front-end filter you poster earlier are working, but Subfolders will be displayed twice, forced display after the images box.

    Plugin Author Marcel Brinkkemper

    (@macbrink)

    Thread Starter klihelp

    (@klihelp)

    Thanks. Still not working..

    // Move Subfolders box above Images box
    function kli_ezg_list_table_boxes( $columns ) {
       remove_action('edit_form_after_editor',array(eazyest_gallery(),'list_table_attachments'),1,1);
    add_action('edit_form_after_editor',array( eazyest_gallery(),'list_table_attachments'),3,1);
    }
    add_action('edit_form_after_editor','kli_ezg_list_table_boxes', 1);
    Plugin Author Marcel Brinkkemper

    (@macbrink)

    add_action('eazyest_gallery_ready','kli_ezg_list_table_boxes', 1);

    Thread Starter klihelp

    (@klihelp)

    The remove_action doesn’t have any effect

    // Move Subfolders box above Images box
    function kli_ezg_list_table_boxes() {
        var_dump('hellooo'); // displayed
        remove_action('edit_form_after_editor',array( eazyest_gallery(),'list_table_attachments'),1,1);
        // add_action('edit_form_after_editor',array( eazyest_gallery(),'list_table_attachments'),3,1);
    }
    // add_action('edit_form_after_editor','kli_ezg_list_table_boxes', 1);
    add_action('eazyest_gallery_ready','kli_ezg_list_table_boxes', 1);

    Plugin Author Marcel Brinkkemper

    (@macbrink)

    bummer,
    replace

    eazyest_gallery()

    by

    eazyest_admin()->folder_editor()

    Thread Starter klihelp

    (@klihelp)

    thanks, it’s working. Looks very nice, you should try it too:)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Maybe move subfolders box before the images box and some info (in admin)’ is closed to new replies.