daveruiz
Member
Posted 1 year ago #
There are some bug with "Browse" and "Media Library" buttons in custom post types admin page. They opens content in a new page; no popup.
On the other hand. The download button of this plugin is broken. Direct download to the plugin: http://downloads.wordpress.org/plugin/attachments.1.0.9.zip
http://wordpress.org/extend/plugins/attachments/
daveruiz
Member
Posted 1 year ago #
Ok. I found the problem.
The post type needs to have support for 'editor'. Without this, WP don't load needed scripts.
daveruiz
Member
Posted 1 year ago #
A solution, without add 'editor' support to a custom post type.
Put following scripts when define custom post type:
wp_enqueue_script( 'thickbox' );
wp_enqueue_style( 'thickbox' );
Jonathan Christopher
Member
Posted 1 year ago #
Thanks for creating this thread! I've just updated Attachments and that fix has been put in place. Thanks!
daveruiz
Member
Posted 1 year ago #
Thank you for this plugin! ;)
drewbarden
Member
Posted 1 year ago #
This plugin is fantastic and I use it in almost all my projects. WordPress 3.1.1, Attachments 1.5.2: the browse and library buttons are broken.
This is happening on four or five of my sites... any chance the fix has indeed not been put into place?