• Resolved tguldener

    (@tguldener)


    Mailpoet will only loading main CSS files. All the Plugin CSS files are missing. The only loaded plugin CSS will be the mailpoet-admin-global-css.

    So if you like to change the backend design over a Plugin (like Kodeo Admin UI, AIT Easy Admin, etc…), the modified backend design will not be loaded, if you will use one of the MailPoet submenues.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for writing. Our plugin code works this way because we aim to prevent JavaScript and CSS conflicts with our admin pages.

    If you continue to have issues with your plugins, kindly contact us over email.

    Thanks,

    Thread Starter tguldener

    (@tguldener)

    Hi

    So you are one of the only plugins who think it’s imported to prevent you from other CSS. The better way will be to give the user the option to load also plugin CSS and JS.

    Your plugin is unuseable with this policy. Every bigger WordPress installation have interaction between frontend and backend plugins.

    g.
    Thomas

    Hello,

    Thanks for writing back. We’ve added hooks to whitelist styles and scripts.

    For styles, use:

    add_filter('mailpoet_conflict_resolver_whitelist_style', function ($whitelistedStyles) {
    $whitelistedStyles[] = 'modern-events-calendar-lite'; // plugin name to whitelist
    return $whitelistedStyles;
    });

    For scripts, use:

    add_filter('mailpoet_conflict_resolver_whitelist_script', function ($whitelistedScripts) {
    $whitelistedScripts[] = 'modern-events-calendar-lite'; // plugin name to whitelist
    return $whitelistedScripts;
    });

    Let us know if it works for you.

    ?Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing CSS from installed Plugins in the Backend’ is closed to new replies.