I’m using the rewrite Rachael posted earlier in this thread. It works like a charm and is very useful.
The problem is it won’t work together with the ManagerManager plug in. As far as I can see from an non programmers point of view the javascript code doesn’t find the HTML to be modified because of the code changes done by ManagerManager. The order of plug in execution doesn’t matter, BTW.
Can somebody clarify/help?
Thanks!
---
Additional info after some research:
It looks like the problem has to do with single quotes, double quotes, ticks, whatever it’s called.
The script throws a javascript error
Error: url is not defined with a link to this line:
return (url != '' && url.search(/http:\/\//i) == -1) ? ('http://yxz.com/' + url) : url;
after modification of the javascript as follows the error becomes
Error: (new Element("img")).setProperty is not a function. Where do the double quotes come from?
var img = new Element('img').setProperty('src', 'http://asdf.com').setStyles('max-width:300px; max-height:100px');
// var img = new Element('img').setProperty('src', full_url(url)).setStyles('max-width:300px; max-height:100px');
Both errors only occur when ManagerManager plugin is active.
Sorry for the crude way of debugging. I don’t know better, but I would love to use both plugins together...