Viewing 8 replies - 1 through 8 (of 8 total)
  • thanks for the bug report – unfortunately, I dont know how to solve this. The problem lies in lmm_tinymce_shortcode.js:

    ...
    					file : '/wp-admin/admin-ajax.php?action=get_mm_list',
    ...

    this needs to be changed to something like

    ...
    					file : '<?php if (!is_multisite()) { echo admin_url(); } else { echo get_admin_url(); } ?>admin-ajax.php?action=get_mm_list',
    ...

    Well – using php in js is not possible this way and I didnt find a workaround. Any help is appreciated!

    Thread Starter Agnes

    (@agneslesagegmailcom)

    Hi, i also found this line and had tried with a simple blog url php insert, but as you say, it does not fit into .js !
    So… I dont know…
    Well, I ll hard code my url until, may be someone finds a way!
    Thanks, Agnes

    Thread Starter Agnes

    (@agneslesagegmailcom)

    PS: today I see someoine using PHP in CSS, but adding it from a function file… would be an idea?
    Agnes

    if ( !( $config[‘rmcss’] === ‘Yes’ ) && ( $config[‘format’] === ‘list’ )) { ?>
    <style type=”text/css”>
    .better-tag-cloud-shortcode li,
    .better-tag-cloud-shortcode li a,
    li#better-tag-cloud ul.wp-tag-cloud li,
    li#better-tag-cloud ul.wp-tag-cloud li a {
    display: inline;
    <?php
    if ($underline == ‘none’) {
    echo “text-decoration: none;”;
    }
    elseif ($underline == ‘underline’) {
    echo “text-decoration: underline;”;
    } ?>
    }
    </style>

    Hi Agnes,
    I found a fix (I embedd .php instead of .js and attach admin-url as parameter for javascript) ??
    Will be included in v2.3 which will hopefully be released soon…
    regards,
    Robert

    Hi again ??
    v2.3 has just been released – please tell me, if it doesnt solve your issue.
    Regards,
    Robert

    Thread Starter Agnes

    (@agneslesagegmailcom)

    Congrats!
    That is a great news so I ll expect the update ??
    Thanks for the follow up!

    I hope you didnt update within the last 15 Minutes – had to do a quick bug fix for this release :-/
    If yes, please upload all plugin files manually again via ftp…

    Thread Starter Agnes

    (@agneslesagegmailcom)

    Yes it works! Great, and thanks for eractivity

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Leaflet Maps Marker] Shortcode link in TinyMCE broken :(’ is closed to new replies.