drskullster
Forum Replies Created
-
Your first option works perfectly.
Thanks for the quick answer,
JonathanForum: Plugins
In reply to: [Knews Multilingual Newsletters] Is there a way to translate templates ?Thanks for your answer.
I’ve sent you an email 🙂
Very nice,
Thanks !
Hi Carles,
It works just fine with your solution.
Many thanks !
Hi,
I forgot about this. Actually I realized I was getting php notices in ajax response because WP was in debug mode.
So for users with standard configuration I guess the plugin should work out of the box 🙂
Thanks again !
Hi,
I managed to get it to work on WP 3.4.1.
I noticed in bugzilla console that it was parseJSON() that got wrong characters and thus throwed an JS error. I had php notices in ajax response. So I did something ugly, but it works :
in simple-page-ordering.js, on line 62, I put
var results = [], re = /{([^}]+)}/g, text; while(text = re.exec(response)) { results.push(text[1]); } var changes = jQuery.parseJSON("{" + results[0] + "}");in place of
var changes = jQuery.parseJSON("{" + response + "}");The code simply parses the response to get only what’s inside curly brackets.
Of course the best solution would be to get rid of the notices and warnings, but maybe the author could put some checks before using parseJSON ?
Anyway, great plugin, I’ve been looking for something simple with seamless integration in WP. Thanks !
ok nevermind, I made a backup folder to test a previous version and forgot to remove it. So I had two folders with the same plugin (_wp-cycle and wp-cycle), that’s why I got this error. Stupid mistake 🙂