• Resolved alx359

    (@alx359)


    Hello,

    Attempting to use the Widget Importer & Exporter plugin to create a backup of the widget layout, but unfortunately there’s a conflict with MLA and the import cannot be performed. Have contacted the other developer already. Please advise. Thank you.

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

    (@alx359)

    Kindly note the last posts in the link above, as it seems pinpointed to some side-effect of how MLA may handle some mime types. Thank you.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for your detailed report and for opening a topic in the Widget Importer & Exporter forum as well; very helpful.

    I have installed Widget Importer & Exporter and reproduced the problem you reported. I was able to solve it in two different ways, either of which should work for you as well.

    First, I went to the Settings/Media Library Assistant Uploads tab, unchecked the “Enable Upload MIME Type Support” box and clicked Save Changes. This disables MLA’s file extension and MIME Type features. After doing that I was able to import the .wie file without any problem.

    Second, after I re-enabled MLA’s features I added the .wie extension to the list of supported types:

    1. Navigate to the Settings/Media Library Assistant Uploads tab.
    2. Make sure the “Enable Upload MIME Type Support” box is checked and the File Extension table is displayed.
    3. Scroll down to the “Add New Upload MIME Type” in the left-hand part of the page.
    4. Enter “wie” in the Extension text box.
    5. Enter “application/json” in the MIME Type text box.
    6. Select an Icon Type from the dropdown list. I used “database” but “default” or any other choice would be fine.
    7. Leave the Inactive box unchecked.
    8. Enter an optional Description, e.g., “For Widget Importer/Exporter”
    9. Click “Add Upload MIME Type” to record your new type.

    You can enter “wie” in the Search Uploads box in the upper-right to display your new type and confirm your settings.

    With the new entry in place I was able to import .wie files with MLA active. When MLA’s Uploads features are enabled other plugins such as the “WP Add Mime Types” plugin will be overridden – my thinking is why would you need more than one way to add types?

    I will leave this topic unresolved for now and await your report on the effectiveness of the above suggestions. Thanks for the effort you’ve put in to this issue; I regret any inconvenience it has caused you.

    Thread Starter alx359

    (@alx359)

    Thank you so much, David! Both of your solutions work perfectly. I opted for the 2nd one for being the most flexible one.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for confirming the fix! I’ll leave this topic resolved, but please update it or start another if there’s anything else I can help with.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Widget Importer & Exporter plugin conflict’ is closed to new replies.