Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jesper van Engelen

    (@engelen)

    Hi David,

    It is possible indeed! For each type of listing screen (posts, users, terms, comments, media), Admin Columns has something called a “storage model”. It’s possible to extend Admin Columns for custom WP_List_Table classes by using the filters available. We’ve answered a support topic on this in the past; you can find it here.

    If you’re looking into extending your plugin to support Admin Columns, we would be very glad to help you out if you run into any problems! You can contact us through our admincolumns.com email address “info” as well, if you wish.

    Best,
    Jesper

    Thread Starter David Lingren

    (@dglingren)

    Thanks for your replay, the link to a relevant support topic and your offer of further assistance.

    I was able to solve my user’s immediate issue. I will read through the support topic and keep it on hand for future requests. Thanks again for your help.

    Just want to +1 this possibility… I am using both of these very great plugins… ??

    Kind regards…

    Thread Starter David Lingren

    (@dglingren)

    Thanks again for your response and the link to your earlier support topic. I have been following the suggestions there and making progress on my own storage model.

    My plugin adds a submenu, “Assistant” to the WordPress Media menu. The link assigned to the Media/Assistant submenu is /wp-admin/upload.php?page=mla-menu. This is the standard WordPress mechanism for managing submenu items.

    I have created a storage model (class CPAC_Storage_Model_MLA extends CPAC_Storage_Model) and added it to the $storage_models array using the cac/storage_models filter. My model appears on the Settings/Admin Columns screen as “Media Library Assistant” in the “Others:” list on the “Admin Columns” tab. All of the columns are showing up fine and I can re-arrange them and see the updated column order in the Media/Assistant submenu table. However, I need some help with the “View” and “Edit Columns” buttons.

    On the Settings/Admin Columns screen a “View” button appears to the right of the label, above the list of columns. The link assigned to the button goes to /wp-admin/upload.php. I believe this is derived from the $this->page = 'upload'; assignment in my CPAC_Storage_Model_MLA object. How can I make this button go to /wp-admin/upload.php?page=mla-menu?

    On the Media/Assistant submenu screen an “Edit Columns” button appears to the right of the table navigation area (“Filter”, etc.). The link assigned to this button is /wp-admin/options-general.php?page=codepress-admin-columns&cpac_key=wp-media How do I make this button link to the “Media Library Assistant” entry on the Settings/Admin Columns screen?

    Thanks for any additional help you can give me.

    Thread Starter David Lingren

    (@dglingren)

    I have uploaded a new MLA Development Version dated 10251222 that contains support for the Admin Columns plugin. You can use Admin Columns to re-order, re-size and remove columns from the Media/Assistant submenu table. You can also add custom columns from Admin Columns such as Available Sizes. To get the Development Version, follow the instructions in this MLA support topic:

    Shortcode not working in (special) widget

    It would be great if you can try the Development Version and let me know if the new features work for you.

    Hi David,

    Thanks again for all your incredible work and dedication to MLA… I wish I could give another five stars…!

    I just installed the dev version on two sites, made some changes on both, and it all seems to be working perfectly… ??

    Warm regards,

    John.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Making Admin Columns available in Media Library Assistant’ is closed to new replies.