Forum Replies Created

Viewing 1 replies (of 1 total)
  • Kzr-Data

    (@kzr-data)

    The problem is in the tinyMCE_shortcode_add.js

    Replace all with this :

    (function() {

    tinymce.create(‘tinymce.plugins.easyReservations’, {

    init : function(ed, url){
    // Register example button
    ed.addButton(‘easyReservations’, {
    title : ‘easyReservations’,
    cmd : ‘mceOpenReservation’,
    image: url + “/logo.png”,
    onclick : function() {
    ed.windowManager.open({
    file : url + ‘/tinyMCE_shortcode_add.php’,
    width : 670,
    height : 420,
    inline : 1
    }, {
    plugin_url : url // Plugin absolute URL
    });
    }
    });
    ed.addCommand(‘mceOpenReservation’, function() {
    ed.windowManager.open({
    file : url + ‘/tinyMCE_shortcode_add.php’,
    width : 600,
    height : 420,
    inline : 1
    }, {
    plugin_url : url // Plugin absolute URL
    });
    });
    },

    getInfo : function() {
    return {
    longname : ‘easyReservations Shortcodes’,
    author : ‘Feryaz Beer’,
    authorurl : ‘http://www.feryaz.de’,
    infourl : ”,
    version : “1.2”
    };
    }
    });

    tinymce.PluginManager.add(‘easyReservations’, tinymce.plugins.easyReservations);

    })();

    You’re welcome 🙂

Viewing 1 replies (of 1 total)