Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Bolixee

    (@bolixee)

    Nobody?? I need help with it

    Thread Starter Bolixee

    (@bolixee)

    Ok I have upgrade to last Version 1.4.8 and I set the changes I have made and it works fine. In the script.js see the line 80. The next two functions should look like that:

    my.media_frame = wp.media({
                state : 'mystate',
                className: 'media-frame simple-fields-media-frame',
                frame: 'select',
                multiple: false,
                title: _wpMediaViewsL10n.mediaLibraryTitle,
                library: {
                type: 'image' // image | audio
                },
                button: {
                    text: _wpMediaViewsL10n.insertIntoPost
                }
            });
    
            my.media_frame.states.add([
    
                new wp.media.controller.Library({
                id: 'mystate',
                title: 'Medien hinzufügen',
                priority: 2,
                toolbar: 'select',
                filterable: 'uploaded',
                library: wp.media.query( my.media_frame.options.library ),
                multiple: my.media_frame.options.multiple ? 'reset' : true,
                editable: true,
                displayUserSettings: true,
                displaySettings: true,
                allowLocalEdits: true,
                button: {
                    text: _wpMediaViewsL10n.insertIntoPost
                }
                //AttachmentView: ?
    
                }),
            ]);

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Then the uploader appears with the dropdown filtering in the left side. Next step will be to bring the option “upload from url” to the left menu. Like the normal WP uploader.

    The plugin I use for media categorizing is call “media library assistant”. Hopefully it gives no problem with other similar plugin.

    I hope it help. Cheers…

    Thread Starter Bolixee

    (@bolixee)

    Hi there,

    sorry it was not that easy. It worked to bring the right mediaupload with the categories and so on, until there looks cool. But when an image is selected it does nothing. So I spent a little bit time to see how was the action onselect and I managed to make it work at all.

    I did it in the Version 1.4.5. now I will check it the last version accepts those changes.

    I have not the time to post it right the way. But I will. I promise.

    Greetings…

    Thread Starter Bolixee

    (@bolixee)

    Hi there,

    I have solve the problem of the dropdowns in the pop up media window.

    KnutSv try this:

    In the plugin folder open scripts.js and go to the line 66. There you see.

    frame: ‘select’,

    change it to:

    frame: ‘post’,

    Ready! Greetings…

    Thread Starter Bolixee

    (@bolixee)

    Hello again,

    trying to find where is the error I have experimented I contacted also the author from Media Library Assistant. He has reply

    Reply

    ********* Begin *************

    I’ve done some testing and have an answer, but I regret the news is not good.

    I disabled the Media Library Assistant plugin and discovered that the “filter dropdown” fields do not appear with the default WordPress media uploader either. I looked through the Simple Fields source code and discovered this comment:

    // TODO: how do i get the filter dropdown?? i think i’ve tried everything!

    It looks like this is an issue with Simple Fields and has nothing to do with MLA. You will have to work with the Simple Fields author to get a resolution for this problem. It looks like the new Media Uploader is giving many of us some trouble.

    Thanks again for your interest in the Media Library Assistant. I’m going to mark this issue resolved, but please let me know if you have any other problems or questions.

    ********* End *************

    Maybe it can help
    Greetings…

    Thread Starter Bolixee

    (@bolixee)

    Hello David,

    I am really thanked for your quick reply. I am already trying to contact the author from Simplefields to see if the mistakes can be solved.

    Other doubt or question I have about your plugin I will write you.

    Greetings..

Viewing 6 replies - 1 through 6 (of 6 total)