WP-Flickr with FCKEditor
-
Very nice plugin!
I need a little help, though. I have the FCKEditor installed in WP and WP-Flickr is not working with it, not adding the pictures to the editing area. I found the JS code that should do it and realize it’s written for tinyMCE but have no idea how to change it to work with the other one.
function insertIntoEditor(h) { var win = window.opener ? window.opener : window.dialogArguments; if (! win) win = top; tinyMCE = win.tinyMCE; if(typeof tinyMCE != 'undefined' && tinyMCE.getInstanceById('content')) { tinyMCE.selectedInstance.getWin().focus(); tinyMCE.execCommand('mceInsertContent', false, h); } else win.edInsertContent(win.edCanvas, h); if(! this.ID) this.cancelView(); return false; } function updatePhotos() { //window.location.href = window.location.href + "&set=" + $F('wpflickr_sets'); new Ajax.Updater('ajax_panel', '../wp-content/plugins/wp-flickr/wp-flickr-ajax.php', {parameters: { set: $F('wpflickr_sets') }}) }
Please help! I really want to use WP-Flickr in my WP install.
Thanks in advance!
- The topic ‘WP-Flickr with FCKEditor’ is closed to new replies.