Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lbbadi1

    (@lbbadi1)

    ok, what can i do to solve the problem?

    Thread Starter lbbadi1

    (@lbbadi1)

    Hello

    I think this was the problem that i don’t have the free version installed. After installation the plugin works.
    SO it’s ok

    Thread Starter lbbadi1

    (@lbbadi1)

    Sorry my mistake. You do it now.

    Thread Starter lbbadi1

    (@lbbadi1)

    Hi Nickolas

    thanks for your reply.
    I test the metabox on Page and on a own pagetype (course).
    I’ve testet with Java in my g^functions.php and without.
    Your plugin come but when i select a file fro upload the “select” field is not filled with the filename and the button “upload” is not clickable.

    I’ll hope we have a chance to find a solution.

    Thanks a lot Dietmar

    Code:
    function custom_meta_box_markup()
    {
    echo ‘<script type=”text/javascript” src=”/wp-content/plugins/wp-file-upload/js/wordpress_file_upload_functions.js”></script>’;

    echo do_shortcode(‘[wordpress_file_upload multiple=”false” dragdrop=”false” uploadpath=”vendor_uploads/%username%” uploadrole=”administrator,teacher” createpath=”false”]’);

    }

    function add_custom_meta_box()
    {
    add_meta_box(“demo-meta-box”, “Custom Meta Box”, “custom_meta_box_markup”, “course”, “normal”, “high”, null);
    // add_meta_box(“demo-meta-box”, “Custom Meta Box”, “custom_meta_box_markup”, “course”, “side”, “high”, null);
    }

    add_action(“add_meta_boxes”, “add_custom_meta_box”);

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